Task form Virtual agent opening in an edit mode.

bekfro
Kilo Sage

When an approver opens the RITM from virtual agent, the form opens what looks like an admin mode with editable fields like Number, Item, and even client scripts and UI Actions are available for view:

bekfro_1-1707764874287.png

 



bekfro_0-1707764804697.png



What is the best option to avoid this view from opening?

 

 

1 ACCEPTED SOLUTION

bekfro
Kilo Sage

@James Chun I wanted to let you know I did get this figured out.  In the Approvals topic  -> Display task.

 

Updating lines 

bekfro_0-1707916204564.png

Changing line 38 from form to approval...

Thanks for your quick assistance!

 

View solution in original post

5 REPLIES 5

James Chun
Kilo Patron

Hey @bekfro ,

 

You should be able to change the URL within the Virtual Agent Topic.

From there, you can change the URL to something like https://{instance name}/esc?id=hrm_todos_page or to another page depending on what you are using for the approval.

 

Thanks!

bekfro
Kilo Sage

Thanks James!  I think I may need a few more details if you can help... 

I assume I need to look at the get requested item details:

bekfro_0-1707773584608.png

 

I'm not seeing the URL link within this 

bekfro_1-1707773656459.png

 

Hey @bekfro ,

 

Looking at the screenshot, the approval link is generated in line 17.

You can see that the 'vaVars.link' is being set to something like {instance URI}/{portalName}?id=approval&table=.... (I can't see the rest of the script, but I assume the parameter contains the sys_id of the record as well). 

If you modify line 17 to the URL of your desire (also verify where the 'portalName' is being set from), you should be good to go!

 

If you need further assistance, please copy and paste the code here instead of a screenshot (including where the 'portalName' is being assigned).

 

Thanks!

 

bekfro
Kilo Sage

@James Chun I wanted to let you know I did get this figured out.  In the Approvals topic  -> Display task.

 

Updating lines 

bekfro_0-1707916204564.png

Changing line 38 from form to approval...

Thanks for your quick assistance!