How to add process flow based on view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2022 09:42 AM
Hey guys
I need to add a new process flow on ORM view of sn_risk_risk table. OOB process flow on default view is :
Draft > Assess > Respond > Review > Monitor > Retired
but my requirement is when i change the view as ORM view the process flow should be:
Draft > Assess > Review > Respond > Monitor > Retired
Review and Respond should be interchanged..How to achieve it please help
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2022 10:12 AM
Hi
the process flow formatter is not a matter of form views, but is built on the underlying state model. That means it is not dependent on any form view, and therefore I cannot see any solution for your requirement.
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2022 10:19 AM
Hey Maik, Thanks for your response
Can we do it based on a custom field lets say 'Track' so if Track is ORM then new process flow should be attached

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2022 10:30 AM
You can create a custom field on your table and configure a on submit client script to update this field based on view.
Configure process flow based on this flag condition.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2022 10:39 AM
Hi Sachin, I have written one onload client script and checking if view is "ORM" then I am updating my custom field 'u_track' as ORM. Now what next I have to do please help