Flow Designer action "Record Producer". Store record producer information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hello,
I'm trying to create Incident records in Flow Designer with the action Record Producer*.
The execution seems correct but the Record Producer column of the Incident table is not filled automatically. With an additional Update Record action, it works.
Is it normal?
I checked on a PDI and I understand that the column Record Producer might be a customisation of our.
Thank you for a confirmation.
If indee it is a customisation, how is stored out of the box the information that a (incident) record is created through which record producer?
Thanks
Flavio
* We use a rather "legacy" instance, UI 16, on Xanadu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
In the Step where you are updating INC you can set that Custom Column with the Record Producer from earlier Step
OR
you can use after insert BR on incident table and use this logic to set that field
(function executeRule(current, previous /*null when async*/ ) {
// Add your code here
var rec = new GlideRecord('sc_item_produced_record');
rec.addQuery('task', current.sys_id);
rec.query();
if (rec.next()) {
current.u_record_producer = rec.producer; // use this if your field is reference to Record producer table
current.u_record_producer = rec.producer.getDisplayValue(); // use this if your field is string type
current.setWorkflow(false);
current.update();
}
})(current, previous);
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hello @Flavio4, Following table holds the relationship: sc_item_produced_record.
you can type sc_item_produced_record.list in the application navigator and find the information. details in the table are self explanatory.
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi @Flavio4 ,
I have just checked your requirement in my PDI. Please review the below screenshot
what i have did, after generating the record from record producer i'm updating that record- fields with the record producer name.
and it will updating like this-
if its help you to fix your issue please accept as solution and mark as helpful
Thank you
Nawal singh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
OOTB there is no field available on incident called "Record Producer".
This field must be a customization done in your instance and it seems the developer who worked on it forgot to populate that when INC is created using "Record Producer" flow action.
"Record Producer" is an OOTB flow action.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader