You can see an example of how to do this if you open DashBoard's help:
Help : Help Contents
Do a search for "GPI" and you'll see "Triggering Tasks Externally" appear in the search results.
That will give you an example of how to do this.
Following the steps in that section of the manual will get you closer than any example I could try to post here.
#DashBoard