Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

using flow designer I want to trigger assign to

armanoj
Mega Sage

in custom table with list field group refer to group table.
i want create some custom task using sheduled job.

scheduled job run  every 6 months.
department field contain multiple values 
eg: Group1,group2,group3.

newly created task assign to needs to be corresponding department (group) manager.

 

example:

1 . record have 2 groups.
then task needs to create for to managers while runing the job.

15 REPLIES 15

@armanoj 

please share screenshots of what you configured so far

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

Use case :

In a OOB table having field department  it is a list field and refer to cmn_department.

Using  a flow want to create some cutom tasks based on the OOB table department field.

 

when the OOb table record created with department ABC, the sametime new custom task needs to create and it assign to the department manager.

In some case there multiple department add to the OOB record , then both dept manager needs to create and assign the tasks.

how this fulfill in the flow action
 

Hello @armanoj ,

 

As per your previous question schedule job which run every six months below code will works :

 

assign.png

 

 

And as per latest requirnment with flow  will work :

 

grp.png

 

First check grp field has values or not then if yes iterate for each loop on groups field .

 In your case you need to iterate on department field and then create new record and assigned it to group manager.

 

Screenshot (15).pngScreenshot (16).png

 

If this helps you then mark it as helpful and accept as solution.

Regards,

Aditya

I mentioned department field contain multiple department then how ? @Aditya_hublikar .

in single record have 2 department in the list then I want create 2 task and assign to two different dept managers.
Here two dept are there . while iterating to this record , two custom task needs to create and assign to according deptment managers

 
 

Screenshot 2026-02-24 130338.png

 

 

 

Hello @armanoj ,

 

By above flow  its creating two tasks(here i  created 2 incidents) and assigned to group managers. For this i iterate for each loop on groups field( in your case its department).

demo1.png