Execute a Scriplet on a Action Call


Now a days, I have started exploring USD and learning small things here and there. 

I got a requirement to Open a Web Page by considering some parameters from Account record in USD. To achieve this thing, we can directly pass parameters in the Data field of the Action Call but if there any conditions to check and frame the URL, we have to use Scriplet.

To create a scriplet, Navigate to CRM -> Settings -> Unified Service Desk -> Scriplets -> New

Give the name as per you wish

Write a code in the Script Text field. And don’t forget to call the same method again as show in below.

functionopenGooglePage() {
    var vName = “[[account.name]]”;
    var url = http://www.google.com/search?q=” + vName;
    return url;


Now create an action call and give url=[[$scriptlet.OpenGooglePage]] in the Data column.

Hope this helps.

Happy CRM’ing


2 thoughts on “Execute a Scriplet on a Action Call

  1. Lead Generation November 30, 2017 / 10:43 am

    It’s a great spot to find new information. Here we all can learn a lot of useful things. Thank you so much for this wonderful article. – Appointment Setting Services Canberra and Brisbane, Appointment Setting Companies Canberra and Brisbanehttp://leadgenerationservices.com.au/appointment-setting.html


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s