set_resource_to_activity: Specify which resource is responsible for executing an...

Description Usage Arguments Value

Description

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())

Usage

1
set_resource_to_activity(processmodel, activity, resource = "", amount = 1)

Arguments

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.

Value

process model


fgailly/BPS-package documentation built on May 8, 2019, 11:44 a.m.