Requirement to make "Add Attachment" un mandate based on the option selected in catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 09:04 AM
Hi All,
I have a requirement to make "Add Attachments" field not mandatory based on the selection of the variable options.
For the below highlighted option , the Add attachment field should be not mandatory and for the other two options it has to be mandatory. As of now its mandatory for all options.
How to achieve this ?
(Note: Tried this via UI Policy, but the "Add attachment" field isn't visible )

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 11:06 AM
There isn't an OOB way to do this. If you conditionally need an attachment, perhaps use the 'Attachment' variable rather than the item-level 'add attachments' option
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 02:37 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 03:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 12:21 PM
Hi @phr , I believe you are using the default out of the box attachment field and you have set "Mandatory Attachment" field as true, in maintain item definition.
Simplest solution would be as follows:
1) hide the out of the box attachment field.
2) Create an attachment type variable.
3) Use UI Policy, Custom created attachment variable will be available in UI Policy and Action.