Notifications

282 views

Description

The Assignment Group is not saved in service_task for new records.

Steps to Reproduce

  1. Type service_task.do in the filter navigator.

  2. Set Assignment Group to "change management".

  3. Set Assigned to as "change manager".

  4. Right-click in the form header and choose Save.

    Note that the Assignment group and Assigned to value are not saved.

 

Workaround

  1. Open the workflow editor in a global scope.

  2. Navigate to Workflow > Workflow Editor.

  3. Open the workflow "Service Task Processing" workflow.

  4. In the title bar, click the menu icon and select Checkout.

  5. Click on the Run Script "Assign to User and Group". Update the script as follows:

    Existing code: 

    current.assignment_group = workflow.scratchpad.assignment_group.value; 
    current.assigned_to = workflow.scratchpad.assigned_to.value; 

    New code: 

    if(!current.assignment_group) 
    current.assignment_group = workflow.scratchpad.assignment_group.value; 
    if(!current.assigned_to) 
    current.assigned_to = workflow.scratchpad.assigned_to.value; 
  6. After you have finished editing the workflow, validate and publish the workflow to make the new version available to other users.

 

For more information about editing the published workflow, see the product documentation topic Work on workflows.


Related Problem: PRB1288788

Seen In

There is no data to report.

Fixed In

Madrid

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:37:19
Published:2018-07-24