Answered

Perform Activity Via Script

Hello Again!.

Is there any method to Perform a Activity via Expression Script?. Just like http://help.bizagi.com/bpmsuite/en/index.html?perfomactivityasstring.htm but from Bizagi Script instead of a external Application.

Thanks!.

Best Answer
photo

Dear Joel,

The PerformActivity function is used to execute an activity. It is the equivalent of pressing the NEXT button, but it can be used remotely (from another case o activity) and providing information related to the activity. The syntax of this function is: CHelper.PerformActivity(XML_ActivityInfo) The main parameters of this function is the XML in a string. This XML must contain the following information:

  • Domain
  • User name
  • Task Id
  • Id Case, to perform the action.
  • Work item id
  • Entities, with the information intended to be inserted into the task.

Please follow this article: http://help.bizagi.com/bpmsuite/en/index.html?execute_activity.htm

Regards

photo
0

Dear Joel,

The PerformActivity function is used to execute an activity. It is the equivalent of pressing the NEXT button, but it can be used remotely (from another case o activity) and providing information related to the activity. The syntax of this function is: CHelper.PerformActivity(XML_ActivityInfo) The main parameters of this function is the XML in a string. This XML must contain the following information:

  • Domain
  • User name
  • Task Id
  • Id Case, to perform the action.
  • Work item id
  • Entities, with the information intended to be inserted into the task.

Please follow this article: http://help.bizagi.com/bpmsuite/en/index.html?execute_activity.htm

Regards