- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2023 10:00 PM
Hi Experts,
I am working on building a record producer flow within the Workplace Case management scope. The record producer creates a workplace case , tags an approval and once approval is completed, it creates an auto task.
Flow is working as expected and creates the task without any trouble.
Now showing the record producers variables ( via variables sets in my case) on the 'workplace task' record, it seems to be not showing the variables even after adding the 'Formatter' entry (as in screenshot below)
formatter value : com_glideapp_questionset_default_question_editor
added the RP Task Variables formatter into the default view of the workplace task ,
After adding the variable editor in the default view, it doesnt show any variables on the 'workplace task' record. If I look at the UI macro (screenshot below) mentioned on the formatter (com_glideapp_questionset_default_question_editor) , i do not see 'workplace task' record on the sc_item_produced_record table . I see only the workplace case record.
Any guidance here to troubleshoot or fix the issue.
thx
ram.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2023 06:46 AM
As far as I know what you want is not possible.
It is only in case of Requested Items and Catalog Tasks that the same set of variables can be shown in both places.
Those (and only those) use the com_glideapp_servicecatalog_veditor formatter (which uses the com.glideapp.servicecatalog.VEditor Java class) to display variables.
Other tables use the com_glideapp_questionset_default_question_editor formatter (which uses the com.glideapp.servicecatalog.DefaultQuestionEditor Java class) to display variables.
The latter will only be able to show variables related to the current record.
So you need to build something from scratch, or add the summary of variables to the task, or create the variable records for the task records using JavaScript, but only after you will have created a record producer using the same variables for the task too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2023 08:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2023 02:14 PM
Yes, i created the variables from the parent case.
The records were created on the question_answer table, not on the sc_item_produced_record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2023 02:20 PM
What I mean is that you probably need to create the right record in sc_item_produced_record too.
Otherwise there is no way for the formatter to figure out what other stuff besides the variables it can work with.
For that and because the record in sc_item_produced_record needs a reference to a Catalog Item/Record producer you in addition also need to defined one - for the task record, as stated previously.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2023 10:08 AM
Why would you use a Record Producer when you can use a Catalog Item & attach a flow to it? This seems like unnecessary scripting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2023 11:28 AM
@Marcus Walbridg , the product I am using is workplace service delivery and the target record is workplace cases and tasks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2023 04:25 PM
@-O- , yes the variables for the task is created from the parent case.
The variables are created in the question_answer table.