IT Management Suite

 View Only
  • 1.  script name of running Server Task

    Posted Jun 29, 2022 04:31 PM
    Hello,

    within a running "Server Task" ("Run Script on Server") I need its script name.


    I've already tried this via tokens (adapting "JOBSTART"). These only give me back the name of client tasks.
    But I need the name of the server task.

    Tokens named here seem to no longer exist (https://knowledge.broadcom.com/external/article/179652/the-variable-and-tokens-used-in-deployme.html).

    Can anyone help me to find a solution?
    Thanks.


  • 2.  RE: script name of running Server Task

    Broadcom Employee
    Posted Jun 29, 2022 09:46 PM

    Hello Thomas Mueller!

    If I correctly understood your question, Server or client tasks "script" itself is in "State" column <![CDATA[]]

    As example of my "Run script on Server" task where command is 'systeminfo2'
    EXECUTE spLoadItemByGuidAndVersion @itemGuid='GUID of required Task', @Culture=N'en-US', @version=-1
    "ItemVersionData' sql table also contains exact Script task "command" data, but need to known required version of this task.

    Own custom tokens can be created on this page


    Best regards,
    IP.



    ------------------------------
    [JobTitle]
    [CompanyName]
    [State]
    ------------------------------