Assign a value to fields in the workflow

You can have a (custom) field for an action in the workflow populated automatically with a fixed value, a value from another field or a value from a tag. You can also choose to clear the field in the workflow.

Click here for an example of the use of custom fields for a destination.

Example: 

If one user always completes a certain action, you enter a Fixed value in the Resp. person field. The value is then the user who you selected from the list.

You can also enter a value in the Begindatum field. Here, you can select, for example, Value from tag. In that case, you enter the [Today] tag in the Waarde field.

In addition, you can have a field populated with the value from another field. Suppose that the sender is always responsible for the last action of the workflow. In that case, you can have the Resp. person field populated with Value from field Sender.

Note:

Restrictions apply to assigning a value to a custom field for destinations in HR/Payroll (such as Employee, Organisational unit, Employer, Car and Absence entry). You can only do this in workflows for your own dossier item types and in supplied workflows for the Wet Verbetering Poortwachter (Profit) dossier item type.

To assign a value to a field:

  1. Open Profit.
  2. Go to: CRM / Dossier / Configuration / Dossier item type.
  3. Open the properties of the dossier item type..
  4. Go to the tab: Workflows.
  5. Open the properties of the workflow..
  6. Select the first action of the workflow.
  7. Add a data collection to the workflow.

    More information:

    Data collection for a workflow

  8. Open the Assign value frame.
  9. Click on:  Ins_Wortkflow Beoordelen inschrijving inrichten (10).
  10. Select the file from which you want to use a custom field.

    You can only select a file in which custom fields are available.

  11. Select the field to which you want to assign a value.

    The fields that you can choose depend on the configuration of the dossier item type. You can add the same field more than once. If you are using conditions, you can have the field populated with different values, depending on the condition.

  12. Select how you want to fill the field. You can choose from:
    • Fixed value
    • Value from tag: read here to see which tags are supported.
    • The value from field
    • Clear a field
  13. If applicable, select the data collection.

    If you have added two or more data collections to the workflow, you can populate a field with a value of a field in the data collection. You can only select fields from the data collection if you have selected Value from field in Fill with.

  14. Select the value.

    You can delete a submitted value using Delete. You can only select the 'Value' if you have selected a data collection or if you only specified one data collection for the workflow and selected 'Value from field' in 'Fill with'.

    Note: 

    The result of populating a field may be that the field is cleared. This happens if a field is populated from another field that does not have a value (in that case. the field to be changed is cleared).

    The workflow can only be used to change certain fields of the dossier item type and the custom fields of the dossier item type.

    This does not include the fields of, for example, an employee. These fields cannot be changed by a workflow with the 'Assign value' functionality.

  15. Select the condition.
  16. Click on: OK.
  17. Click on: Publish.

Directly to

  1. Build a new workflow
  2. New workflow without basis
  3. New workflow based on an existing one
  4. Add a task
  5. Change a task
  6. Copy rights from another task
  7. Delete a task
  8. Add an action
  9. Extra actions for a task
  10. Adjust an action
  11. Configure the Action confirmation screen
  12. Add a follow-up task to an action
  13. Delete an action
  14. Add a condition to a workflow
  15. Add custom fields to an action
  16. Assign a value to fields in the workflow
  17. Submit a new dossier item from dossier item
  18. Link a message to a task or an action
  19. Overview of tasks and actions
  20. Custom table for status in workflow