How can I attach a workflow to Record Producer?

Laukik Udpikar
Tera Expert

I don't see any oob way to attach a new workflow to record producer, how can i achieve this?

1 ACCEPTED SOLUTION

@Laukik Udpikar 

As already mentioned it makes no sense adding workflow to record produer.

Please don't touch any OOB component such as the one you removed the advanced ref qualifier from the dictionary.

It might break in future upgrade and may lead to issue.

Instead add the workflow on the target table of your record producer.

Regards
Ankur

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

View solution in original post

12 REPLIES 12

Pranav Bhagat
Kilo Sage

@Laukik Udpikar So to run a workflow, you would need to do it within the workflow properties by selecting the target table or selecting a target table and a condition to run it.

Gaurav Shirsat
Mega Sage

as per my Knowledge

if you are attaching a workflow to the record producer it will not provide any value.because we use record producer to only to generate the Record in Target Table(Incident/Problem/Change and many more).because catalog is represented in portal view to end users.

Now when you create any record in Target Table,lets take as an example in Incident Table,

all business rules,client scripts,UI Policy,Script Include and other all configurations and customization works as per specified work also  including any workflows defined for the application or table.

Now it is very important the workflow field should not be available for a record producer.

Please refer my Answer on similar Question Thread earlier

https://community.servicenow.com/community?id=community_question&sys_id=e4c3d660dbcb9c143daa1ea66896...

Its Better to have Workflow Attached to Catalog Item or Target Table of Your Record Producer.

Please Mark Correct and Helpful

Thanks and Regards

Gaurav Shirsat

Yash Agrawal1
Tera Guru

Hello Laukik,

Please understand the concept of record producer and its use in ServiceNow.

Record producers are used to creating a record in any table like Incident, Problem, Change.

So if you are creating a record producer for any of these tables means it will create just a record in the table and that's it .use of record producer will get over after creating record.

now that record will follow the process according to the workflow written for that table.

I hope you got my point.

Please Mark it helpful/correct if my answer helps in any way to resolve your query.
Reach out to me if any more help required.

Regards

Yash.K.Agrawal