Symptoms
Redwood_TM_Escalation is running indefinitely and no escalation are being done.
The output stdout.log will show regularly following message:
- Trying to persist
- JCS-102011: Out-value Out Value String cannot be set on Parameter DeadlineMissed for process xxxx because its process is final
- Unable to persist
Cause
Redwood_TM_Escalation will go into an infinite loop when Task which have miss there deadline are in inconsistent state, for example the task is in end status while the UserMesaggeJob still in console state.
Steps to reproduce:
- Duplicate Redwood_TM_ManualTask (ie: Redwood_TM_ManualTask_t109753
- Go to Orchestrator and create a new ProcessList (PL_t109753)
- set following parameter
-
deadline
: set it to01:00
. -
Executing Person
: Set it for your current user. -
Subprocess
: Use a test subprocess, such as a namedtest
. -
working hours
: choose theSystem_Week_WorkingHours
calendar.
-
- Submit the processLits
- See that Redwood_TM_ManualTask_t109753 is in waiting and sub usermessage process is in console
- Submit System_ForceJobStatusUnknown for Redwood_TM_ManualTask_t109753 process
- Submit Redwood_TM_Escalation
- See that it now run indefinitely
Workaround
You can kill Redwood_TM_Escalation and then create a report definition with below query.
Please review process shown in ConsoleJob column to have them set in end status.
Once the report does not show any result Redwood_TM_Escalation, should be able to execute as expected.
Query:
Select pj.JobId as ParenJobId, pj.Status as ParentJobStatus, o.Job as ConsoleJob from JobDatum o, Job j , Job pj
where o.Job = j.UniqueId
and j.ParentJob = pj.UniqueId
and o.DatumDefinition in ( select dd.UniqueId from DatumDefinition dd where dd.Name = 'Redwood_TM_WorkflowType')
and o.ValueNumber is not null
and o.ValueDateTimeZone is not null
and o.ValueDateTimeZone <= NOW()
and j.Status = 'O'
and pj.Status not in ('W')
Affected version
TaskManagement
Resolution
This issue is fix in version 2025.2.0.0
Reference
ROSO-15712
Comments
1 comment
This issue will be fix with upcoming 2025.2.0.0
Please sign in to leave a comment.