Notifications

899 views

Description

The workflow activity Create Task advanced script is not executing twice within the Graphical Workflow Editor. This issue occurs when the workflow has this sequence of activities:

  1. Begin
  2. Create Task (advanced script: task.short_description = 'test - ' + problem.number + ' - ' + problem.short_description;)
  3. Create Task (advanced script: task.short_description = 'test - ' + problem.number + ' - ' + problem.short_description;)
  4. End

After Create Task 1 has finished executing the script as expected, it moves to Create Task 2. However, the Create Task 2 fails to execute the second script due to the error: "problem" is not defined.

 

Workaround

Replace problem with current in the run script:

task.short_description = 'test - ' + current.number + ' - ' + current.short_description;

 


Related Problem: PRB591097

Seen In

Calgary Patch 2

Fixed In

Eureka

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2014-12-02 11:45:27
Published:2014-12-02