Virtual Agent: Process Approvals topic - how do add fields to the rendered card

DanielCordick
Mega Patron
Mega Patron

Hi All,

I am in my testing phase of deploying virtual agent, how do i add more fields to this?

I am using the Process My Approvals topic for virtual agent. I want to add, requested_for, due_date, state,

is it possible to add variables form the RITM to the card?

find_real_file.png

1 ACCEPTED SOLUTION

Sai Kumar B
Mega Sage
Mega Sage

@Daniel 

Before What would you like to do? I would suggest you display the Card from Bot response with Ticket details.

 

View solution in original post

4 REPLIES 4

Sai Kumar B
Mega Sage
Mega Sage

@Daniel 

Before What would you like to do? I would suggest you display the Card from Bot response with Ticket details.

 

although your suggestion would also work,

 

In the OOB topic there is a display task action, opening the script i needed to add

else if (source_table == 'sc_req_item') {
fieldList = ['short_description', 'due_date', 'opened_by', 'requested_for'];
reqItemFields = getRequestedItems(approval_for_record.getUniqueValue());
 
}
 
this updated the card and added more information to what i was looking for 
 
thanks 

Hi,

Could you explain in detail where you edited the script? I am facing a similar issue.

Regards

Vaniyaa
Tera Contributor

@Sai Kumar B 
As Process approval topic looks for approval record in the change, request and knowledge table, so it is possible to  show approval request separately for change, request and knowledge like we have for "check IT ticket status".
snow1.png