transition to stage [stagecode] is not in the process active path. RRS feed

  • Question

  • Hi,

    There is a possibility to switch entity process and stage using fields "stageid" and "processid" of the entity. It is the recommended approach and discribed in many sources. And it was actually working before new update has come (Version 1612(

    The failure happens in case, when new stage is not sibling of current.

    E.g. In a a process flow with stages 1->2->3->4->5. Target entityis has stage 2 , stage can be changed to 1 or 3 without problems. in case of changing state to 4 in responce will be "transition to stage [stagecode] is not in the process active path"

    The only way to move to correct stage is to move stages one by one, but there is another problem: entity ProcessStage doesn't contains any ordering attribute or any other sequense marker, only Xaml can help to get a correct sequense.

    Did anybody else faced such a problem? Is there any other solution? Is there or planned request in CRM SDK to change state?

    • Edited by aspirin854 Wednesday, February 1, 2017 7:03 AM
    • Changed type aspirin854 Monday, March 13, 2017 7:36 AM
    Tuesday, January 31, 2017 11:15 AM