| | | Supreme Being
       
Group: Forum Members Last Login: Friday, April 18, 2008 Posts: 11, Visits: 28 |
| | Hi, I am trying to make a workflow which has the flow like this- Workflow has one level of approval, so I need to specify the approver by hardcoding. Instead of doing so I like request to go to the person who have logged in. Suppose John submitted the form for approval so except John everyone can see his request in his inbox and if anyone approves it, form should be finally approved. Means approval is base on the ID of logged in person. Please help me achieving this functionality. Regards, Ravi |
| | | | Forum Newbie
       
Group: Forum Members Last Login: Monday, July 14, 2008 Posts: 1, Visits: 31 |
| | Hi, Please follow the following steps. - Declare a workflow variable of type "Array" inside yoru worklfow. - In your code behind page where you invoke the workflow, declare a .NET array and assign the userid of the logged in person to the array. Assign this array to the Workflow array variable when you are invoiking the workflow. - In your approval action, specify the "Assign Actor(s)" property condition as "USerID Not In <your workflow arrray variable>". |
| | | | Supreme Being
       
Group: Forum Members Last Login: Wednesday, June 04, 2008 Posts: 131, Visits: 423 |
| Hi, You can also send the tasks to all users except the submitted by resource by setting the "Assign Actor(s)" property as below
[Id] <> [Variable.SubmittedBy.UserId] See the attached image for reference regards,
Moderator
|
| |
|
|