Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Can Now Assist Flow Generation configure Group Approval actions directly from the prompt?

Prabhu22ap
Kilo Explorer

Hi Community,

I am testing Now Assist Flow Generation in Workflow Studio to create Flow Designer flows from natural language prompts.

One of my prompts contains instructions similar to the following:

Trigger when a record is created on the sc_request table.
Evaluate the request price.
If the price is greater than $1,000, add a Group Approval action.
Use a specific approval group (group sys_id provided in the prompt).
If approved, mark the request as approved.
If rejected, mark the request as rejected.

The flow structure is generated successfully, including the decision logic and approval step. However, the Group Approval action is not fully configured, and I still need to manually select/configure the approval group after generation.

My questions are:

Does Now Assist Flow Generation currently support configuring a Group Approval action directly from the prompt?
Can it reliably resolve and use a provided group sys_id when generating the flow?
Are there any recommended prompt patterns or best practices for populating approval groups automatically?
Is this a known limitation of the current capability, requiring manual configuration after generation?

Has anyone successfully generated a flow where the approval group was fully configured without post-generation edits?

Thanks in advance for any guidance.

 

2 REPLIES 2

yashkamde
Giga Sage

Hello @Prabhu22ap ,

 

I have worked on this requirement,

So in short Now Assist Flow Generation doesn't support configuring a Group Approval action directly from the prompt, it can add the right action type based on intent, but it doesn't reliably parse or bind a provided group sys_id into the action's data pill.

 

Also there's no reliable prompt pattern to force this. Flow Generation produces an outline that needs post-generation configuration for input values and data references.

I have done this post generation dynamically via BR & script include.

If my response helped mark as helpful and accept the solution.

Thanks for sharing your experience. I will first explore whether I can implement a similar approach using a Business Rule and Script Include to update the generated flow configuration after creation. If I run into any issues or am unable to achieve the same result, I'll follow up with additional questions. Thanks again for the insight.