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.

Record producer approval

akin9
Tera Contributor

Hello Experts,

We have created a record producer to create a new application service.

As of now If user submit a request new application service will create.

we have created a workflow but not working , dont know how to achieve it.

Table - "cmdb_ci_service_discovered"

Approval group - "SN_New_Management"

 

Requirment

1. we want to add Group approvals on that request after approval only new record needs to be created.

 

kindly support to achieve!

 

33 REPLIES 33

@akin9 

did you not add gs.info()?

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

Hi @Ankur Bawiskar ,

I have tried with gs.log and gs.info both .

As per the log check i have added the gs.log .

 

Thanks

Hello @akin9 ,

Please create a catalog item. add workflow to it and in the workflow add the approval as well as a run script to create a business service this the best solution you can implement.

If my answer solved your issue, please mark my answer as Correct & Helpful based on the Impact

Best Regards,
Nayan Dhamane
ServiceNow Community Rising Star 2023.

Hi @Nayan Dhamane ,

IActually , After approval we need to create a record automatically.

thats y i have created a record producer instead catalog item.

@akin9 , yes it can be done through run script in workflow just add script to create new record and map it with the fields with required details.

If my answer solved your issue, please mark my answer as Correct & Helpful based on the Impact

Best Regards,
Nayan Dhamane
ServiceNow Community Rising Star 2023.