Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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
    Luis Nogueira Profile Picture
    on at
    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
    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
    Prakash Kalimuthu Profile Picture
    on at
    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans