Hi!
I have a customer who wants a different form for each stage of opportunity entity sales process. Ie. different form for Offer and Negotiation stage.
I found a solution to change the form with javascript (Xrm.Page.ui.formSelector.items.get(formId).navigate( ); function). I can not however figure out how to trigger the said javascript on stage change.
Busines Process Flow has abiltiy to trigger workflow either on "Stage Entry" or "Stage Exit". I can not however figure out how to trigger my javascript (web resource)from the workflow.
I have two questions
How do I run web resource(javascript) from workflow?
Is there some other way I can change the form of an entity on stage change?