
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2023 12:25 PM - edited ‎07-24-2023 08:18 AM
I have a flow designer creating a Catalog Item and the user wants us to add checklist items to the SCTASK.
I'm used to writing script to perform this in Workflow, but how do I do it in Flow Designer?
onTaskCreated(task.setNewGuid()); //setting the guid/sys_id of the workflow activity and calling the function here
function onTaskCreated(task){
var wfTools = new workflowTools();
var user_sys_id = '<sys ID of a user>'; //
var checklist_sys_id = wfTools.createChecklist("sc_task", task, "Check List",user_sys_id);
/* Check List: */
wfTools.addChecklistItem(checklist_sys_id, "Checklist Item 1", 1);
wfTools.addChecklistItem(checklist_sys_id, "Checklist Item 2", 2);
wfTools.addChecklistItem(checklist_sys_id, "Checklist Item 3", 3);
}//end onTaskCreated
Thank you for your time, Charles
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2023 08:59 AM
Found this article and it worked like a charm: https://www.servicenow.com/community/itsm-forum/flow-designer-adding-a-checklist-to-a-form/m-p/53308...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2023 09:31 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2023 08:59 AM
Found this article and it worked like a charm: https://www.servicenow.com/community/itsm-forum/flow-designer-adding-a-checklist-to-a-form/m-p/53308...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2023 09:31 PM
is the "Create checklist item/record" no longer available

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2023 07:06 AM
You know what, I thought I had seen it, but I could never find it. I just looked again and there it was.