Set Instance Name is a Script Component allowing you to change the description of an instance as an automated step in the process.

This is useful for when you wish to use of the instance description to show status information or other.


Add the Set Instance Description component to a process

  1. Open the Component section in the left panel of the modeller


  2. Drag and drop the component Set Instance Description onto your canvas.

  3. Close the configuration window, incorporate the new Script Task to your model and connect any Form Templates and/or Data Objects you might wish to collect the new instance description from.

  4. Open the script task settings and click on Configure scripts to open the configuration view.
  5. Select where from to take the value, you have two choices; Data Object or Custom Value: 
    1. Data Object: Choose the data object and field you wish to collect the value from in the drop down lists.

      NOTE: If you use Data Object, the object must be an input to the Script Task. Furthermore, you can only collect field value from a text field. If you want to use for example a number field you must use Custom Value with variables (see below).

    2. Custom Value: Here you can write variables or plain text that will be set as the new instance name.
      Read more about variables in the article Variables.

  6. Click on save.