www.skelta.com
Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » Skelta Workflow Net » Skelta Workflow Net » Application Development » Allocate resource dynamically


Allocate resource dynamicallyExpand / Collapse
Author
Message
Posted Monday, March 17, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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 

Post #660
Posted Monday, March 17, 2008
 

Group: Forum Members
Last Login: Monday, March 17, 2008
Posts: -1, Visits: 28
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>".

Post #661
Posted Monday, March 17, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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

  Post Attachments 
VariableSubmittedBy.PNG (60 views, 15.43 KB)

Post #665
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
-
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.

All times are GMT -5:00, Time now is 12:49am

 
Execution: 0.172.11 queries.Compression Enabled.

Copyright © 2002 - 2007 Skelta Software. All rights reserved. Tel: 1 (703) 229-6732 | Email:sales@skelta.com
Skelta - A BPM Workflow Software Company