Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

RITM automatically closes when the last Catalog Task is completed, despite an active workflow

Release: Australia
sabrinavilla
Tera Contributor

Hello,

We are experiencing an issue with a Service Catalog workflow.

The workflow includes a Catalog Task followed by a Run Script activity, a Notification, and a Wait for Condition activity.

When the Catalog Task is completed, the workflow correctly proceeds to the Wait for Condition activity and remains in the "Running" state, waiting for change state.

However, the RITM is automatically moved to "Closed Complete" by System, even though the workflow is still active. The parent REQ remains open.

Troubleshooting performed:

  • We verified that the workflow remains active at the Wait for Condition activity.
  • We disabled all Business Rules associated with the sc_req_item and sc_request tables, but the issue persists.
  • We added a second Catalog Task to the workflow. As long as this task remains open, the RITM stays open.
  • When the second Catalog Task is completed, the RITM is automatically closed.

Any idea?

Thank you

1 REPLY 1

NagaChandaE
Mega Sage

Hi @sabrinavilla ,

could you also check whether any Business Rules on sc_task or task are closing the RITM? Some rules on those tables update the parent record.

A few other things to check:

  • Whether any Flow Designer flow runs when a catalog task closes.

  • Whether the Run Script activity in your workflow sets the RITM's state or stage.

  • The RITM's audit history. Look at the exact time it changed to Closed Complete, then check the System Log for that time to see what triggered it.

Could you also share screenshots of:

  • The full workflow, showing all the activities.

  • The script inside the Run Script activity.

  • The Wait for Condition activity, with its condition and script.

That should help us find what's closing it.