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)

hidden Fields not triggering the workflow

(0) ShareShare
ReportReport
Posted on by 65

Hello All,

I have real time workflow in my  CRM 2013 , when a hiddenfield is updated using Javascript , worlflow is based on onchange of hiddenfield.

I can see the value changed on hidden field when it is in unhide mode but it is not even displayed in audit history.

Xrm.Page.getAttribute('hiddenIshandled').setValue('Yes'); 
Xrm.Page.getAttribute('hiddenIshandled').setSubmitMode('always');
Xrm.Page.data.entity.save();  
Xrm.Page.data.refresh(true);

*This post is locked for comments

I have the same question (0)
  • ashlega Profile Picture
    34,477 on at

    Hi,

     just wondering what's the type of that field?

     If you unhide the field and change it manually (then save your changes), will your workflow start?

     And, also, since you are always setting the value to "Yes" in that code, are you sure that code actually changes the value?

  • prasy Profile Picture
    65 on at

    Hello Alex,

    Type is text and before assigning to "Yes" onFormload in assign Field value to "No"

    I have tired manually it works perfectly good.

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