Figure out which way a record has been created

manolis_sgouros
Kilo Expert

Dear all,

 

Is there a way that we can figure out if a record has been created by Record producer or by the "Create new" module?

 

The only thing i have in mind, is to check if there is related variables. (check variable pool)

 

Thanks in advance,

Manolis.

4 REPLIES 4

gyedwab
Mega Guru

Out-of-the-box, records that are created via a record producer versus "create new" are not going to register differently (other than having variables, as you've noted). If you want to track this, you can add a hidden field that the record producer will populate (or use the out-of-box contact_type field, if appropriate), and then you can report on it.



Checking the variable pool could also work, although I haven't tried it myself.


Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hi Manolis,



Checking the variables would be the only thing I can think of.



One thing that I've done in the past for customers that could help you moving forward would be adding a field to the incident form where you could track what created it. Your record producer could write to that field as well as an inbound email action could write the email that generated the incident.


manolis_sgouros
Kilo Expert

Thanks both of you for your replies!


Finally i went with write ACL which checks if there is related variables...


Is working and we avoid adding field on the table which will need to add mechanism to publish this field.



Cheers,


Manolis.


Community Alums
Not applicable

Try checking on the sc_item_produced_record_list.do table. It worked for me