set_activity_duration: Adds an activity duration to an activity

Description Usage Arguments

Description

Function that can be used to specify how long it takes to execute 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_activity_duration(process, activity, duration)

Arguments

process

The process model

activity

The activity of which the duration will be set. Accepts a list object created with the add_activity function OR with the import_BPMN function

duration

Accepts numerics and all functions returning a numeric. If the duration is negative, the absolute value will be taken


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