Create multiple SCTASK with single ritm

TejasviR
Tera Contributor

Hello Everyone!

In my schedule job, there is a condition where if a record is found, then create a single RITM with multiple tasks without using Flow design/Workflow. if not then create RITM per Record.

Please help me with this.

Thanks in advance!

2 REPLIES 2

Gaurav Shirsat
Mega Sage

Hello Tejas,

is it allowed you can use script?

are you aware about details of catalog item(catalog item, variable values) to be ordered if record found?

also for record(what are the measures to be used to found appropriate record)

Mark my Response as Correct or Helpful, if you find it Appropriate.
Gaurav Shirsat : ServiceNow Community MVP 2022
https://www.linkedin.com/in/gauravshirsat/ 

OlaN
Giga Sage
Giga Sage

Hi,

Care to elaborate your question a bit more? It's hard to give a good answer based on so little information.

I would suggest that instead of doing this with a scheduled job, I would create a Flow that does the same.

You have built-in ability to submit a Catalog item from a Flow, which sounds like something you would want in this case.

Some questions to your question:

If record is found you should create a single RITM without using Flow/Workflow; what does this mean?
Are you not allowed to use these tools in the platform?

If no record is found, create a RITM per record; this is confusing, how can one create RITM per record if no record is found? Please explain.