How to know in state machine workflow from where the request is forward to current state

i have scenario and following states

requestor

supervisor

dept manager

vp

request move to supervisor even if request approved and reject it will go to requestor and requestor have the rights to escalate it to above level i am able to escalate it one layer up like department manager but even if department manager approve or reject it will move to requestor for approve or escalate,if requestor now escalate it should go to next level which vp

how to know the requestor response already had supervisor state and now it should move to vp state

January 13th, 2014 2:23am

Can you not use workflow variables and then check the value and/or assign value to that variable before setting state activity?
Free Windows Admin Tool Kit Click here and download it now
January 13th, 2014 6:15am

can you give me example of it

i am trying with

workflowProperties.Item[

"WorkFlowState"] = this.PreviousStateName;

and then checking

if

(this.onTaskChangedRequestorAction_AfterProperties1.ExtendedProperties["Workflowstatus"].ToString().Contains("Escalate-the-case-further") && workflowProperties.Item["WorkFlowState"].ToString().Contains("SupervisorAction"))

do you have any example?

January 13th, 2014 6:55am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics