Answered by:
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
MCTS,ITIL
Question
Answers
-
i am able to check that with
this.PreviousStateName;
and check the conidtion which contains the state name
thanks
MCTS,ITIL
- Marked as answer by Shahid Siddique Monday, January 13, 2014 12:25 PM
All replies
-
-
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?
MCTS,ITIL
-
i am able to check that with
this.PreviousStateName;
and check the conidtion which contains the state name
thanks
MCTS,ITIL
- Marked as answer by Shahid Siddique Monday, January 13, 2014 12:25 PM