0

I have an existing close ui action..

This ui action closes the task record and update the state as well…now that I want to make attachment mandatory I m using saveAttachment('incident',g_form.getTableName(),g_form.getUniqueValue());

In my close ui action…but there thing I want to check if single attachment is added or not and if present have to update the state on form?

Could anyone please guide me how to proceed with this?

Thank you

How to make attachment mandatory and if added update the record using ui action?
Working Code Answered question September 17, 2024