question

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie asked Matthew Gillespie edited

How do I use the Send Item activity to start a later activity?

FlexSim HC 5.3.4
flexsim hcitem objectssend itemstart activity
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered

First, in the Send Item activity fill out the Item Destination panel. The first field is the Item object where the created object will be placed. The second field is the Activity ID of the activity that you want the item to start later on.

When this activity happens it creates a new item in the specified destination and adds 2 labels to it. First, a Patient label that refers back to the patient who created it. Second, an Activity label that holds the Activity ID you specified above.

Second, at the point you want the item to trigger the patient's activity, add the Start an Activity trigger instruction. For example, in the attached model, this pickoption was added to ItemExit1's On Entry Trigger. By default, the code is configure to use the Patient and Activity labels on the item:

Third, clear the Predecessors field of the activity you want the activity to start.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.