Australia Release – Choice Field Dropdowns Empty in Workflow Studio Playbook Create Record Activity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi everyone,
I'm investigating an issue in Workflow Studio following our ServiceNow Australia upgrade, where Choice field values are not displayed when configuring an automated Playbook activity.
Issue:
When editing a Playbook's Create New Record activity and adding a Choice field (e.g. Status), the value dropdown is empty.
The issue is not limited to Status. I've tried several other Choice fields, and none display their available options.
The same Playbook activity works correctly in Zurich, where all Choice values are displayed as expected.
I've also tried switching the application scope to Global, but the issue persists.
Has anyone experienced this behaviour in Australia? Is this a known issue or is there a workaround?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Epsylen
Try this KB Solution once .
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB3100406
Cause
Root Cause
Resolution
Steps to Resolve
1. Navigate to sys_script_include_list.do
2. Search for WorkflowStageProcessor
3. Open the script include and locate the getChoiceList() method
4. Inside the default: case block, update the code as follows:
Before:
var clGenerator = new GlideChoiceListGenerator(this.tableName, this.fieldName);
clGenerator.none = false;
choiceList = clGenerator.get();
After:
var clGenerator = new GlideChoiceListGenerator(this.tableName, this.fieldName);
clGenerator.none = false;
clGenerator.setCache(false); // ADD THIS LINE
choiceList = clGenerator.get();
5. Save the record
6. Flush cache on all nodes using one of the following methods:
- Navigate to cache.do on each node
- OR run gs.cacheFlush() from a background script to flush all nodes at once
7. If the issue persists, run "GlideCacheManager.prefixFlush('sys_choice_compiled', '')" to clear that table specific cache
Note: if Solution not worked, please revert back the code.