Skip to main content
ladislavm0002
September 6, 2023
Question

Process paused by exception when the escalation conditions are not met

  • September 6, 2023
  • 1 reply
  • 0 views

Hello team,

I tried to set up user input task reassignment via escalation following this logic:

1. I have a User Input task which is assigned to a group called "Processors".

2. The escalation is set up as recurring every 1 hour

    2.1 If the user input task was not accepted by anyone from processors group members nothing will happen

    2.2 If the user input task was accepted (owner is not null) then the timer will fire and in 5 minutes it will reassign the task back to processors queue

I have set it up following way, but when the timer conditions are not met, the task is paused by exception and nobody is able to access it. Any advice there please? Thanks

Timer conditions, where if the owner is not null it will return true(), if it is null (so not accepted) it will return false().

c10 represents the Owner column

pv!contract.contracId is the identificator for the specific task

not(
  rule!GBL_isBlankOrEmpty(
    index(
      a!queryProcessAnalytics(  
        report: cons!ICH_REPORT_ALL_TASKS,  
        query: 
        a!query(    
          pagingInfo: a!pagingInfo(startIndex: 1,batchSize: 10,),    
          logicalExpression: a!queryLogicalExpression(
            operator: "AND",
            filters: {
              a!queryFilter(
                field: "c2", 
                operator: "=", 
                value: pv!contract.contractId),      
            }   
          )  
        )
      ).data,"c10",false)))

1 reply

stefanhelzle0001
Brainy
September 6, 2023

Timers, conditions and more complex expressions are not friends. I think you should be able to see some error message in the tomcat-stdout.log.

The logic you explain seems a bit overcomplicated and cannot easily be implemented. Di you try to challenge the requirements? What is the goal of this?