Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

What are the inputs and outputs for creating an action ?

(0) ShareShare
ReportReport
Posted on by 30

Hi!

I want to create an action for the given scenario:

After creating quote, I want to add a button ("Create Order") which triggers an action to create an order. 

In the process of creating an action (To create an order), I have to add inputs and outputs. Can someone please assist me by telling what are the inputs and outputs?

Thank you in advance!

  • Suggested answer
    RE: What are the inputs and outputs for creating an action ?

    Hi HarshReddy,

    Please also check our documentation on docs.microsoft.com/.../use-web-api-actions

  • Suggested answer
    Manish Sonar Profile Picture
    Manish Sonar 40 on at
    RE: What are the inputs and outputs for creating an action ?

    In your case, input  parameters can be your field values (like SLOT, Numeric or Lookup/Entity Reference) that will be passed while calling "Create Order" action and once record is created you can return some flag like "True" if operation succeeded or "False" if operation failed in output parameter.

    Hope this helps!

  • Suggested answer
    RE: What are the inputs and outputs for creating an action ?

    Hi HarshReddy,

    when we call/invoke action inside OOB workflow/JavaScript we need to configure properties. Setting value for an input either dynamic or static.

    If any steps added after action step inside OOB workflow, we can get output of the action that can be referred dynamically inside OOB workflow.

    FYI, actions can be bound to an entity or global. If it is bound to an entity it is mandatory to pass Id of the record.

    Regards,

    Prakash

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans