This function gets specified parameter of the currently selected attachment.



Function arguments

  • fieldTitle – (String) Name of the case field containing attachment or name of case attachment.
  • paramName – (String) The name of the parameter that is to be retrieved from attachment. Allowed values: [ id | createddate | createdbyid | createdbylogin | modifieddate | modifiedbyid | modifiedbylogin | name | extension | isexternal | externallink | version | size | ocrid | ocrstate | ocrpagecount | ocrresponse | hash | pagecount]

Return value

This function returns String.
Returns the value of specified parameter from the file attached in specified case field or the case attachment list.

WARNING! In case of passing not existing parameter name, this function throws an exception registered in the system log and stops rule execution.


Example 1:
This returns the extension of attachment from current case’s 'AttachmentField1′ field.

attextension = GetAttachmentData("AttachmentField1","extension");
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
How Can We Improve This Article?