Hello !
I have a requirement where I need to enable more than one workflow for the same form( custom form) and should be enabled depending on a enum field status.
I have tried passing workflow type using X++. But It is not working with the desired conditions.It is defaulting to same workflow irrespective of provided condition.
element.form().design().workflowType(workflowtypestr(X));
Any help is appreciated !
Thanks !!
why do you need a code for that? You can configure multiple workflows with conditions - Set the conditions for running this workflow
http://technet.microsoft.com/en-us/library/gg188988.aspx
http://technet.microsoft.com/en-us/library/gg731801.aspx
hello !
Thanks Kranthi for your quick reply !
I tried setting up conditions for workflow. But no luck. It is still pointing to the workflow which is mentioned in the form design property. Whether we should not mention workflow name at form design property? If we mention, how form will be associated with the other workflow?
Thanks,
Sachin
Thanks !! It worked for me !!