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)

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

(0) ShareShare
ReportReport
Posted on by 197

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

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    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.

  • Gaurav_Pandey09 Profile Picture
    197 on at

    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
    Dmytro Rutkovskyi Profile Picture
    1,835 on at

    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?

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    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.

  • Verified answer
    Gaurav_Pandey09 Profile Picture
    197 on at

    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

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