Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Create Record in Workflow using Javascript WebApi

Posted on by 690

Hello,

I have a javascrip that when a quote is lost it generates a new quotation with data from the previous quote via workflow.

I have a javascript that takes the previous Quote ID, brings the descriptions of the previous Quotes, and updates the information in the new Quotation.

So far so good, the problem is that I need to call this javascript when the workflow creates the quote, is this possible?

Thank you

*This post is locked for comments

  • Suggested answer
    Sreevalli Profile Picture
    Sreevalli 3,256 on at
    RE: Create Record in Workflow using Javascript WebApi

    Hi,

    You can just have a system workflow that triggers on quote status change, under steps add check condition to see if quote is lost, then create new records with current record details.

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Create Record in Workflow using Javascript WebApi

    Hello,

    This is not possible. You will have to use serverside approach instead - either plugin or workflow.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans