This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

phase transition fail to execute

Hello team.

I have encounter a challenge on smax automatic phase transition are not working once request has been approved or denied.

rule were working fine before but now their not working

below are business rule implemented  before.

  • Approved rule

${entity.TaskPlanForUserDepartmentApproval_GL47NZ4BV.ExecutionPlanCompletionCode == 'Success'}

${(entity.CurrentTaskPlanStatus == null || entity.CurrentTaskPlanStatus == 'Success')}
  • denied rule
${entity.TaskPlanForUserDepartmentApproval_GL47NZ4BV.ExecutionPlanCompletionCode == 'Failed'}
${(entity.CurrentTaskPlanStatus == null || entity.CurrentTaskPlanStatus == 'Failed')}
Please advise what cause the rule to stop working.
Parents Reply Children
  • Hi Peter,

    In a condition field, everything has to be in a single ${ } expression, not two separate ones
    So did you mean:

    ${entity.TaskPlanForUserDepartmentApproval_GL47NZ4BV.ExecutionPlanCompletionCode == 'Success' &&  (entity.CurrentTaskPlanStatus == null || entity.CurrentTaskPlanStatus == 'Success')}

    Let us know if you solved your issue by now.

    Regards,

    Ben

    Ben Rabau