IT Process Automation

 View Only
  • 1.  display/use the TaskID in the task itself

    Posted Aug 19, 2015 05:22 AM

    I want to use/display the TaskID in the Task(form) itself.

    It is not possible to do this via initializationcode (Process.TaskID=Caller.TaskID) because the value is 0 at the time of initialization.


    Is there a way/function/variable etc. to get it?



    I've got a dirty solution..


    getRoid : function(temp) {

       var ROIDurl =;

       var ROIDurl = ROIDurl.replace("?ROID=", "");

       var TaskID = ROIDurl.replace("&page=replytask", "");

       ca_pam_setTextFieldValue('Form.taskidroid', TaskID);

    return TaskID;



    ca_pam_setTextFieldValue is only able to set Values of a textfield not HTML field


    Dear people at CA is there a way to set HTML field values from inside the form script?

  • 2.  Re: display/use the TaskID in the task itself
    Best Answer

    Broadcom Employee
    Posted Aug 20, 2015 09:17 AM

    In the Pre-Defined Content Library folder that comes with PAM (if you don't have it, click the "out-of-the-box" content button on the Home tab), there is a folder under "User Interaction Forms" called "01 Send Task URL".  Maybe this will get you what you are looking for?

  • 3.  Re: display/use the TaskID in the task itself

    Posted Aug 24, 2015 03:48 AM

    sadly I only installed the ITIL Content Pack an the SDM Integration. When I click the "out-of-the-box" content button PAM tries to import but fails with something like "Server error... further the server log"

  • 4.  Re: display/use the TaskID in the task itself

    Broadcom Employee
    Posted Aug 24, 2015 09:47 AM

    Clicking that button attempts to download XML to your machine and then import that XML into PAM's library.  If your browser security is set to high or if pop-ups are being blocked, this might fail.  You can open an issue with support and we can send you the XML for the out-of-the-box content for your version of PAM.  Then you would just right click in your library, select import and browse to the XML we send to you.  Browsers tend to complain less about that method since you aren't downloading and importing behind the scenes.

  • 5.  Re: display/use the TaskID in the task itself

    Community Manager
    Posted Aug 27, 2015 10:59 AM

    w4ll -- did Andrew's advice help you? Were you able to resolve your issue?