Hello everybody!
Today I want know a single think.
"How we can move automaticily to the next branch stage?"
It's because If I make a condition that "all process fields" are "true", move to next Stage using
Xrm.Page.data.process.moveNext();
But in this case, I need that when the user select in "status field", move to
next branch.
Example:
Stage1: Quilify - Stage2: Development ;
S1--> Identify Prior Client (Account),
Identify Second Cliend (Contac), Identify Needs & Identify Real Needs.
S2--> Proporse a Solution && Evaluated Agred.
Branch Stage (any stage have their branch) : On Hold Process
BS --> "Why process enter to "On Hold Process"".
So, in a hipoteticaly case we can have:
In a initial communitacion we know:
*We meet to Sr.Guillermo (Contact)
*The firm where he work "XX C.A"(Account).
*The frim inssuries (Client Need).
*In ondert to go Stage2, we make a investigation to know the real needs of the firm.
But while we make the investigation to get that,
the Sr.Guillermo call and told us that was fired from the company.
And there is when the process enter in "On Hold".
Because:
*We lose the contact.
*We don't know the new contact.
*We don't know if the new contact keep with the previus contact proyect.
---------------------------------------------
But with moveNext function in the field that open the branch stage (The branch weren't made
with JavaScript, I don't know if have any effect or not, but information will help) it
don't work.
The only way that I've to "jump" to the branch, is that the "all process field" were "true"
and how the branch oppened in the middle
S1-Branch-S2 (In the process view), it jump to Branch (I know that's wrong, but was funny
see that this "error" can jump to branch jajajaja).