Approver can't see attachment in service portal

gregmc83
Kilo Guru

We have a catalog item that requires the requestor to add an attachment, any itil user can see the attachment but approver_user users can't see them. I've had a look at ACLs etc but can't see where it would be. Where the record would show the message appears as below; 

find_real_file.png

 

 

Can anyone help? Is it relating to the sc_request or the attachment?

 

 

11 REPLIES 11

Can you provide their solution so someone else who has the same question can find the answer?

gregmc83
Kilo Guru

find_real_file.png

Hi @gregmc83 

Can you please provide the name of the ACL? I have the same issue. 

Edxavier Robert
Mega Sage

@gregmc83  I was able to do it. I did this: 

Create Business Rule to copy the attachment for the sc_req_item table to the sysapproval_approver table. This will copy the attachment in the Active Stream. Also I added the Ticket Attachment widget from the RITM table into the Approval Table. (with the active stream will be fine, but just in case). 

 

(function execueRule(current, previous 
/*null when async*/ ) {
//Adds any attachment from the requested item to the sysapproval_approver associated with it.
var req = new GlideRecord('sc_req_item');
req.addQuery('sys_id', current.sysapproval);
	req.query();
	if(req.next()){
		
		GlideSysAttachment.copy('sc_req_item', req.sys_id, 'sysapproval_approver', current.sys_id); 
	}

Then it will like this: 

find_real_file.png

Hi @Edxavier Roberto Caez ,

I have got similar kind of request .Can you please elaborate how to bring the attachments page there on the portal page along with the attachments and comment field from approval form ?

find_real_file.png