Configuring milestone labels dynamically in User Action nodes

When dynamically configuring milestone labels in User Action nodes, such as using variable values instead of hard-coded labels, follow these guidelines to ensure correct functionality and avoid common pitfalls:
  • Variable declaration: Ensure that all variables used to set the milestone label are declared at the Start node. Variables not declared at the Start node may not retain their values when a work unit is restarted at a User Action node. This omission can result in errors in the Process Indicator due to undefined or reset variables.
  • Variable naming: Avoid using the variable name milestoneLabel. This name is internally reserved for use by the IPA or Process Indicator system. To prevent conflicts and ensure seamless operation, choose an alternative name for your variable.
  • Variable assignment: It is crucial to assign the desired value to your variable using an Assign node placed immediately before the User Action node. This assignment must be configured to run during both the Run time and Pre-run phases. Ensuring the variable is set during these phases is vital for the consistent operation of the Process Indicator.

By following these guidelines, you can dynamically set milestone labels effectively and maintain the reliability of process tracking within the system.