Regarding approvers

vinuthna16
Tera Contributor

Hi Team,

I have a requirement consider there is a company table in service catalog form whenever i select a company record i should get approvers from company's manager,tl,deputy manager . I am not able to select approvers in the flow because it is a custom table . Please tell me how to get approvers through script in flow designer

Thanks & Regards

Vinuthna

1 ACCEPTED SOLUTION

Danish Bhairag2
Tera Sage
Tera Sage

Hi @vinuthna16 ,

 

  1. You need to create a new action Given some name while creating that action. See snip below
  2. DanishBhairag2_0-1699813078567.png

     

  3. Once u submit click on the + sign highligted  in yellow
  4. DanishBhairag2_1-1699813158208.png

     

  5. U will get the below page where u need to search script & select the one under utilities. 
  6. DanishBhairag2_2-1699813293181.png

     

  7. For coding part you can refer below videos as it contains many steps such as Creating Inputs & outputs along with script & how to call that custom action in your existing flow

The above steps will help u go in the right direction.

Thanks,

Danish

 

 

View solution in original post

If you want to support me then buy me a coffee- https://www.buymeacoffee.com/saaswnow This is ServiceNow Flow Designer Training. ServiceNow has been marketing themselves as low code platform and in one of the recent release they came up with flow designer feature which has totally changed the way
Custom Actions in Flow Designer in ServiceNow are a way to extend the capabilities of a flow by allowing developers to create custom logic using JavaScript. Custom Actions can be created by developers to perform specific tasks or actions within a flow that are not available through the ...
3 REPLIES 3

Danish Bhairag2
Tera Sage
Tera Sage

Hi @vinuthna16 ,

 

  1. You need to create a new action Given some name while creating that action. See snip below
  2. DanishBhairag2_0-1699813078567.png

     

  3. Once u submit click on the + sign highligted  in yellow
  4. DanishBhairag2_1-1699813158208.png

     

  5. U will get the below page where u need to search script & select the one under utilities. 
  6. DanishBhairag2_2-1699813293181.png

     

  7. For coding part you can refer below videos as it contains many steps such as Creating Inputs & outputs along with script & how to call that custom action in your existing flow

The above steps will help u go in the right direction.

Thanks,

Danish

 

 

If you want to support me then buy me a coffee- https://www.buymeacoffee.com/saaswnow This is ServiceNow Flow Designer Training. ServiceNow has been marketing themselves as low code platform and in one of the recent release they came up with flow designer feature which has totally changed the way
Custom Actions in Flow Designer in ServiceNow are a way to extend the capabilities of a flow by allowing developers to create custom logic using JavaScript. Custom Actions can be created by developers to perform specific tasks or actions within a flow that are not available through the ...

vinuthna16
Tera Contributor

I tried with script and flow designer for some company records approvers are coming . But for some company records approvers are not coming. Does the user require any role to get them as a approver in ritm.

vinuthna16
Tera Contributor

I tried with script and flow designer for some company records approvers are coming based on manager and all. But some records it is not coming. Do users require any role to get them as approvers in ritm