Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Flow Designer - adding a checklist to a form

Ben124
Tera Expert

Can someone please help me add a checklist to a SCTASK form using the Flow Designer?  I have a long flow (with multiple subflows) and I need some SCTASK tickets to get certain checklists.  I created a new template and can see it in the checklist_template table, but I can't see how to link that up using the Flow Designer.  This is a critical step in this flow design, but I'm really stuck here.  Any help is appreciated!  I can see this being used in future flows as well.  Thank you!

Here is what I see when trying to add the checklist as a field in the ticket creation and/or update process in the Flow Designer...

1 ACCEPTED SOLUTION

OlaN
Giga Sage
Giga Sage

Hi,

Checklists are tricky, they are not a regular field on the table, they are a separate record, kind of how an attachment is related to a record.

You can create a checklist connected to your sc_task, but it would probably require some altering of your flow.
First, you will need to uncheck the "wait" when creating the SCTASK.

Secondly, after the task is created, create a record in the checklist table.
Two fields must be filled in:
Document must be the SysID of the previously created task
Table must be sc_task.

Third, you will need to create one or more checklist item records, these are the things populated in your checklist.
Another create record action is needed, and the fields to fill in are:
Checklist, your previously created Checklist
Name, the text appearing for the user to check

Finally, you will need to create a wait for condition action, if you want your flow to wait for the completion of the created SCTASK.

find_real_file.png

find_real_file.png

find_real_file.png

find_real_file.png

View solution in original post

7 REPLIES 7

Hi @Mannapuram 

You will of course need to add the checklist to the form.

Easiest way to do so it to select Configure -> Form Layout in the Context menu.

Then search for checklist by typing "che" in the list, should be the first option you find.

Can also see the attached image.

Hope this helps.

 

adding-checklist-to-form.png

@OlaN  Thanks for responding. I did that already. The checklist shows up when they are added through a sub-flow. but If I add them directly in the flow, they are not showing up. I checked the backend tables related to this, like 'checklist', 'checklist_item'. The entries do exists for the items I am expecting them to show up. 

Also, when I refresh, the 'Checklist' do show up for a sec and gone when the page finally loads. 

That's strange. I would double check so you're not misconfigured somewhere.
Adding through a Flow or Subflow should not matter so please do some debugging.