- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2025 05:50 PM - edited 04-07-2025 05:57 PM
hi team, where can i turn on approval for WO ? in SM config (sm_config) it's not there anymore, and it's been removed from the documentation in Y.Global domain configurations
edit: also noticed the states flows for approval is gone.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2025 09:17 PM
Hi Joshua,
Approvals via sm_config were deprecated in Y with the transition away from legacy workflows. The field/checkbox is still available on the sm_config table (not the $sm_config UI page) as 'approval'.
The approval mechanic from the sm_order workflow 'Approval Workflow for SM' ran when the state was set to Draft (1). This would trigger the workflow and check whether approval was enabled via the following script
var sc = new global.SMConfigurationHelper();
var config = sc.getConfigurationByOrderRecord(current);
answer = sc.isEnabled(config, 'approval', false) ? 'yes' : 'no';
The recommendation now is to create a Flow that runs on insert and requests approval.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2025 03:14 AM
It's somewhat cryptically in the release notes