Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Issue with Opportunity Workflow

(0) ShareShare
ReportReport
Posted on by 5

Hi,
I'm not really sure if this the right forum to ask such question but if not please redirect me to the right one.
I'm developer and I'm working on extracting opportunities using Dynamics API and I'm successfully able to do that only this that is causing the issue is Workflow state. I'm not really sure which attributes contains value for that. All I need is the property that contains collection of all the states and the selected sate.Screenshot-2022_2D00_04_2D00_25-220234.png This is what I mean by the workflow.

Please ask if there is any more information required.

Thank you.

  • Verified answer
    Bipin D365 Profile Picture
    28,961 Moderator on at
    RE: Issue with Opportunity Workflow

    Hi,

    To get the selected stage name you will need to use below API query -

    org50b8451e.crm8.dynamics.com/.../new_assessmentprocesses

    new_assessmentprocesses -> Custom Entity name auto created by the system when you create New BPF

    _activestageid_value -> Active Stage Record

    _bpf_crd9a_knowledgeassessmentid_value-> Lookup to Entity for which you created your BPF

    _processid_value -> Process ID. This will be used in next API query to get the list of Stage in your BPF

    To get the list of Process stages for your BPF use below API Query -

    org50b8451e.crm8.dynamics.com/.../processstages eq e740de33-4aec-eb11-bacb-0022480a508b

    Replace CRM Instance URL and other values and run these query in your browser to see the result.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Suggested answer
    Amit Katariya007 Profile Picture
    10,402 Super User 2025 Season 1 on at
    RE: Issue with Opportunity Workflow

    Hello Syed,

    This information is stored with the each opportunity as a field and you can also access it.

    Please find below articles for the reference which will help you to get more detail.

    community.dynamics.com/.../how-to-get-the-current-stage-id-and-stage-name

    docs.microsoft.com/.../formcontext-data-process

    www.inogic.com/.../

    Thank you,

    Amit Katariya

  • Uk Uni Profile Picture
    5 on at
    RE: Issue with Opportunity Workflow

    I think you can do it!

    The journey continues on every track happy wheels

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... 293,099 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,880 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans