Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Status Reason field doesn't change from Web-form metadata

Posted on by 195

I have a web-form with 4 steps. I  change the statuscode field to "In Progress" when the first step is executed and I need to set the statuscode field to "Submitted" when the last step is executed and Redirect it to an Entity List. 

Now I am able to set the statuscode to In Progress with Webform metadata but with the last step I am not able to replicate the same.

Only difference that I see in both the steps is that in the First step the Next step is a Load Form while inthe last step the Next step is a Redirect. 

Can I know how to change the statuscode to "Submitted" 

*This post is locked for comments

  • Verified answer
    Gaurav_Pandey09 Profile Picture
    Gaurav_Pandey09 195 on at
    RE: Status Reason field doesn't change from Web-form metadata

    Hi Ravi,

    I can set the Status Reason to that value for the record. Also I checked and I have my Set value on Save checked with correct value of the status reason. I am not sure why it was not working with metadata functionality. So I created a workflow to update the Status Reason and it did the trick for me.

    Thanks,

    Gaurav

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Status Reason field doesn't change from Web-form metadata

    Hi Gaurav,

    I have the same secnario configured and it is working fine. Could you please doucle check you metadata config/values. I remember for one of my form it was not working and the reason was that the field "Set Value On Save" was not ticked."

    Also, do check if the status reason you are setting is applicable i.e. you can set the status reason for that record to that status reason value.

    This is my config/value for the metadata setting the statusreason.

    metada.png

    Hope this helps.

  • Suggested answer
    Dmytro Rutkovskyi Profile Picture
    Dmytro Rutkovskyi 1,835 on at
    RE: Status Reason field doesn't change from Web-form metadata

    Hi Gaurav

    Can you try your configuration with different field. Status Reason can have specific logic, and there is probability that you cannot change it to that value in that state.

    For example, you can have status reason transitions defined for your entity, see: technet.microsoft.com/.../dn660979.aspx

    But there are other possibilities.

    BTW, can you change Status Reason on the form in the Dynamics web client to "Submitted" and save changes?

  • Gaurav_Pandey09 Profile Picture
    Gaurav_Pandey09 195 on at
    RE: Status Reason field doesn't change from Web-form metadata

    HI Ravi,

    I have set my metadata just the way you have mentioned. The step where I have set the metadata is "Load Form" and in the Next step is a Redirect Step.

    Thanks,

    Gaurav pandey

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Status Reason field doesn't change from Web-form metadata

    Hi,

    You need to set the metadata to the step which is before the redirect step. You if you have step 1 >> step2 >> Step 3 >> Redirect Step, you need to set your metadata on step 3.

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans