Regarding the formatter of Variable Editor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi all,
I hope everyone is doing well.
I have created a record producer for procurement case table now I want to see all those variables in the case table, so for that early we have a Variable editor so we can get the variables from it.
But now it is not working, the formatter and ui macro script are in active.
Can you please help me out on this?
Thanks,
Bharath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
you said earlier it was working but now it's not
what changed?
did you compare?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Bharath,
If you're using a Record Producer to create Procurement Case records, the Variable Editor formatter should display the submitted variables, provided the record has an associated producer record and the variables are stored correctly.
If the Variable Editor is not showing the variables, you can check the following:
- Verify that the Record Producer is actually creating the Procurement Case record and that the variables are being saved.
- Confirm that the Variable Editor formatter is added to the form layout for the Procurement Case table.
- Ensure the Variable Editor UI Macro and related formatter records are active (which you've already verified).
- Check whether the Procurement Case table extends a table that supports variables. Some tables require additional configuration for the Variable Editor to function.
- Review the browser console and system logs for any JavaScript or server-side errors that may prevent the formatter from rendering.
If you're on a newer ServiceNow release (such as Workspace or Next Experience), note that the classic Variable Editor formatter may not behave the same way or may not be supported in certain interfaces. In that case, you may need to use the appropriate Workspace component or an alternative method to display the variables.
If you could share your ServiceNow release and whether you're using the classic UI or Workspace, it would help narrow down the cause.