Attachment mandatory for a particular sc_task

anusha 100
Tera Contributor

Hi All

need attachment mandatory for a particular task   I tried script include and onsubmit client script but my workspace instance is scoped application it is not supporting synchronous call (getXMLWait(); is there is any alternative way please help me

 

 

 

6 REPLIES 6

Kieran Anson
Kilo Patron

Hi,

Just to confirm that you want an agent to have an attachment added to the sc_task prior to allowing them to move the record to a closed state?

 

 

Hi @Kieran Anson ,

yes, after giving attachment only allow the task state as closed complete

Rather than needing to do a GlideAjax call - you can use hasAttachments() in the Core UI which will return true if there are any attachments...not sure if that works in workspace though

Yes I tried using hasAttachments() not working