Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

setActiveProcess not working?

(0) ShareShare
ReportReport
Posted on by 80

Hi all,

I'm currently customising a Dynamics 365 instance (Version 1710 (9.1.0.12935) online) and was attempting to use the setActiveProcess method to programatically switch between two Business Process Flows - it doesn't seem to be working for me, and this forum post seems to say that this is a known issue.

I couldn't find any other reference to this, so can I get confirmation that this is being fixed (or that I'm possibly doing something wrong)? And does anyone have any alternative method to switching BPFs on change of a field?

Thanks a million.

Kind regards,

Ciara Lynch

  • Ciara Lynch Profile Picture
    Ciara Lynch 80 on at
    RE: setActiveProcess not working?

    Hi Henry,

    It appears that my issue is slightly different, as the workaround doesn't seem to change the BPF. It doesn't return any errors either. I'll create a service request as this may be an issue with the instance of Dynamics.

    Thank you for your reply.

    Kind regards,

    Ciara

  • Suggested answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: setActiveProcess not working?

    Hello Ciara,

    In the post you are referencing the setActiveProcess method didn't work because the record was in a creation state (it hadn't yet been saved).
    Is that the case also for you?
    As far as I am aware, only a workaround was provided, not a fix.

    If your record already exists when you try to change BPF, then the Client API setActiveProces should work.

    If you are experience issues with it, I also suggest that you reach out to support https://admin.powerplatform.microsoft.com/support

    Henry

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…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans