- 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 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 11:51 AM
@-O- , I was able to show up variables on the workplace tasks after creating question_answer records similar to workplace case. Now, one thing seems to be missing the 'Display Title' of the variable sets on the task. Is there a way to bring in the display title ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2023 11:54 AM
Did you create a Records Producer for the task that contains the same variables as the one for the parent?
Did you create a record in table sc_item_produced_record?