Description Usage Arguments Value
Specify which resource is responsible for executing an activity The function will alter the existing list of the activity Note that this information should be added before running the transform_BPMN() function (see ?transform_BPMN())
1 | set_resource_to_activity(processmodel, activity, resource = "", amount = 1)
|
processmodel |
The processmodel |
activity |
The activity a resource should be added to. Accepts a list object created with the add_activity function OR with the import_BPMN function |
resource |
Specify the name of the resource type as a character variable. The same resource type should be later defined in the simulation environment (see ?create_resource()) |
amount |
Can be used to indicate that more than 1 instance of the resource type is needed to execute an activity. |
process model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.