Force all mandatory fields before approval
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2015 06:14 AM
Hi All,
I am trying to make one of the fields mandatory only at the approval stage. So someone fills the form in without that field to be mandatory and once submitted then it will be forwarded to the approving department.
In this stage the field is mandatory but even though the approving department are able to approve without filling in the mandatory field. How can i make sure that the mandatory fields should be filled in before that the approval is done. how to force that?
Many thanks
Sinan Sarsam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2015 06:38 AM
When you say it will be forwarded to the approving department, is this an approval or a Task? If its a Task you can set the field as mandatory in the script section of the catalog task activity in the workflow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2015 06:42 AM
Hi Bryan,
It is an approval. So after that the requester submit the request then the approval department will get the notification to approve. Once they open the form then they can see that the specific field is mandatory( red start next to it) but even though they can perform the approval while the mandatory field is not filled in.
I would like to make sure that they cannot approve the form before filling in that specific field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2015 06:53 AM
We have had similar requirements in the past; we had to use a Task instead of an approval to accomplish this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2015 05:36 PM
So if a requester submit the request ,based on your description , the field is mandatory after request submit which I believe is implemented using some Catalog script/UI policy...I believe it is possible that you can refer the variable (mandatory) in workflow approval actvity script and proceed based on the value in it.
Approval and Rollback Activities - ServiceNow Wiki