The "Assign Task" operator remains running even though the user has already completed it.
search cancel

The "Assign Task" operator remains running even though the user has already completed it.

book

Article ID: 408835

calendar_today

Updated On:

Products

CA Process Automation Base Process Automation Manager

Issue/Introduction

The following behavior is seen after a PAM restart:

In the flow instance, the "Start Process" Operator remains running even though the invoked subprocess completes, and the initial operator never changes to the completed state. The client has to reset the "Start Process" operator so it can run the subprocess again, which creates a workload, as there are many flow instances with this issue.

In the flow instance, the "Assign Task" Operator remains running even though the user has completed their assigned task in the "My Tasks" list. Likewise, the task assigned in the "My Tasks" list does not change to the "Completed" state when the user clicks the "Finish" button in the form, nor does it disappear from the list. Therefore, the administrator must reset the "Assign Task" operator in the flow instance so that it can be assigned again and the user can answer it. The administrator must then escalate the failed task that does not disappear to a test user so that the actual assigned user no longer sees it in their task list.

The data is not inserted into the C2ORecoveryState table.

The "Enable Operator Recovery" and "Operator Recovery" checkboxes are checked under the General Properties tab of the Domain, Default Environment, and others.

Environment

Process Automation 4.4

Cause

The recovery process is disabled at the database level only, which causes the assigned task to not work after the PAM restart, since the process is not working/running.

Resolution

1. Run the following query in the PAM Runtime Database:

select PropXML from PropertiesXML where PropXMLID = 2 and PropertyName = 'Properties'

2. Copy the content of PropXML to Notepad or a similar program

3. Search for OperatorRecovery in the content and confirm if it's set to false. To verify, the XML should show something similar to the following:

Example

<name>OperatorRecovery</name><display><page>Properties</page></display><cboolean value="false">

4. Update the value to true.

Example:

<name>OperatorRecovery</name><display><page>Properties</page></display><cboolean value="true">

5. Make a backup of the PropertiesXML table before any change

6. Copy the content with the updated value and update the PropertiesXML table

Example:

update PropertiesXML

set PropXML

= '<HERE IS THE XML CONTENT WITH UPDATED VALUE>'

where PropXMLID = 2 and PropertyName = 'Properties'

7. Restart PAM services.