diff --git a/Client-Side Components/UI Actions/RedirectAdobeSign/README.md b/Client-Side Components/UI Actions/RedirectAdobeSign/README.md new file mode 100644 index 0000000000..5ca88ce458 --- /dev/null +++ b/Client-Side Components/UI Actions/RedirectAdobeSign/README.md @@ -0,0 +1,5 @@ +#Contribution + +Create a UI action named "Redirect to Adobe Sign", which will be available in the HR Agent Configurable Workspace. When the fulfiller clicks this button, they will be redirected to the +Adobe Sign page to initiate the signature integration process. +This UI action will be available specifically for the Onboarding HR Service. diff --git a/Client-Side Components/UI Actions/RedirectAdobeSign/redirectAdobe.js b/Client-Side Components/UI Actions/RedirectAdobeSign/redirectAdobe.js new file mode 100644 index 0000000000..6db2c31b34 --- /dev/null +++ b/Client-Side Components/UI Actions/RedirectAdobeSign/redirectAdobe.js @@ -0,0 +1,15 @@ +// UI Action - "Redirect to Adobe Sign". +// HR Agent workspace +Trigger Condition - current.hr_service== gs.getproperty("On Boarding HR Service"); +Format Configurable Workspace - "Checked" for workspace button visibility +Table - "sn_hr_le_case" + +//Workspace Client script +function onClick(g_form) { + + g_form.setValue("work_notes","Redirected to Adobe Application"); // Worknotes updated + g_form.addInfoMessage("Redirected to Adobe Application"); + var win= top.window.open("https://xyz.eu1.echosign.com/account/homeJS",'_blank'); // Redirect to Adobe Sign page + win.focus(); + g_form.save(); +}