Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

smart buttons workflow workbench

(0) ShareShare
ReportReport
Posted on by 75

Hi , 

I add a smart run workflow button in product view to run a workflow that add many products , my button name "Ayawin Products"3323.3.PNG

41041.1.PNG

this is the comand :

50002.2.PNG

but the workflow does not trigger only if record is select , i want to run workflow without select record

*This post is locked for comments

  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,231 on at
    RE: smart buttons workflow workbench

    Hi Jf Marwen,

    Looks like you want to trigger workflow without selection of records in view. In your case you can call custom action on button click. Create GUID array in js and pass it to the custom action, inside c# code you can achieve your functionality

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: smart buttons workflow workbench

    Workflows are supposed to run on particular records.

    If you need to perform some actions that are not related to records, then you can probably call an action and pass the parameters that you need to execute it.

    You can probably use QuickJS, and use JavaScript to call an action that will execute the actions that you are looking for.

    See following link to execute action: docs.microsoft.com/.../execute or google Xrm.WebApi execute action

    Hope this helps.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,399 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans