The CreatorCon Call for Content is officially open! Get started here.

Workflow, CI Task, SysID

CyrillW
Kilo Explorer

Hey,
I have a workflow based on the outdated workflow (workflow_ide.do).
In it, I have a ‘Create CI Task’.
Now I want to get the SysId from the newly created task and put it in the scratchpad.

I get an ID, but this ID does not exist.
Attached are some images.

 

 

CyrillW_0-1760431463075.png

CyrillW_1-1760431479851.pngCyrillW_2-1760431493171.png

 

CyrillW_3-1760431531404.png

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@CyrillW 

you cannot get it directly.

you need to query sc_task table with your RITM number and then get sysId.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thanks, but I don't have any RITM about it -> it's a workflow that waits for a record to be updated in a table...