Skip to main content

I want to delegate task manually through form or seperate workflow. 

In Tasks SMO paramters are mentioned like :- 

ProcInstID 
Actid 
Actinstid
ActInstDestId 
Eventid 
ActionName 
ActionerName 
ActionerType 
Destination 
Execute

Can anyone knows from which join table i will get all this data. Specially i am confuse between ActionName, ActionType, Execute.

 

Hi there,

 

Returning the data you want depends entirely on how you wish to interact with it. 
The simplest example I can give you is as below:

Create a new List View from the Workflow Reports\Workflow Analytics\Task SmartObject using the “GetWorklistItems” method. This will return all active tasks.

In this example, I used a row double-click to execute the Workflow Reports\Workflow Analytics\Task SmartObject’s “RedirectWorklistItem” method.
In the Input Mappings:

  • The ActionerName needs to be in the following format: {"ActionerType":"User","Name":"(securitylabel):(domain)\\(user name)”}, e.g., {"ActionerType":"User","Name":"K2:MYDOMAIN\\MYNAME"}.
  • The Destination must use the user’s FQN that the task must be redirected to.
  • The ProcInstID, ActInstDestID, and ID map to the existing ProcInstID, ActInstDestID, and ID properties in the Task SmartObject bound to the view.

Finish and run the view, and double-click one of the rows to redirect it.

I hope this helps. Please let me know if you require further info.

 

Kind Regards,

Gem


Thanks for reply.

I want to execute task smo - delegateworkitem method as mentioned above and need to find out parameters value mentioned above actioname and execute.

 

I don't want to redirect.


Ahh, yes. So the DelegateWorkItem method’s ActionName property is the name of the action the user you are delegating to will be able to take. If a task has “Approve” and “Reject”, for example, a user might only be allowed to reject the task, and not approve.

Execute is to allow or deny the user the ability to actually action the task.

 

Hope this helps!

 

Kind Regards,

Gem

 


Reply