web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

FormContext.data.process.getActiveProcess() returns null in unified interface

(0) ShareShare
ReportReport
Posted on by 102

Hi all

I have some JS that is working fine in the regular CRM ui. its getting the current business process flow via FormContext.data.process.getActiveProcess()

it always returns null when viewing the same form via the unified interface (sales hub)

I have tried Xrm.Page.data.process.getActiveProcess() with the same issue.

Does anyone know of any reason for this?

Regards

Nick

*This post is locked for comments

I have the same question (0)
  • Verified answer
    ajyendra Profile Picture
    1,738 on at

    Hi,

    Check :- Is your Business Process Flow is displaying in Unified Interface–Dynamics 365 (sales hub) or not ?

    if not then Check this to appeared in unified interface after that Check your Code

    community.dynamics.com/.../business-process-flow-not-displaying-in-unified-interface-dynamics-365

    Thanks

    Ajyendra

  • nwood Profile Picture
    102 on at

    Thanks Ajyendra

    That was the issue, I forgot that I also needed to publish the business process flows via My Apps.

    Working

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans