ITMS Administrator Group

 View Only
Expand all | Collapse all

ASDK: Schedule a job (task) with option "Allow the user to defer execution of this task"

  • 1.  ASDK: Schedule a job (task) with option "Allow the user to defer execution of this task"

    Posted Oct 04, 2017 06:12 AM

    Hi,

    I wonder if it is possible to script the option "" using the ASDK?

    I know the option "Override Maintenance Windows" is available and can be configured in the input xml. See "@OverrideMaintenanceWindows"

    <inputParameters>
        <parameter>
            <name>@AssignedResources</name>
            <value>4404f03f-8001-4054-b86e-344e43b778f9, c2258340-be59-4051-9c89-3af1d53d33de</value>
        </parameter>
        <parameter>
            <name>@CompRequirements</name>
            <value>
                    <minWaitTime>1 minutes</minWaitTime>
                    <maxWaitTime>10 minutes</maxWaitTime>
                    <minCompletion>95 %</minCompletion>
            </value>
        </parameter>
        <parameter>
            <name>@OverrideMaintenanceWindows</name>
            <value>
                <boolean>true</boolean>
            </value>
        </parameter>
    </inputParameters>";

    But I would like to have the option to enable "". Is it available and maybe not documented? Otherwise I might have to raise this as a feature request (IDEA).

    Stefan

     



  • 2.  RE: ASDK: Schedule a job (task) with option "Allow the user to defer execution of this task"

    Posted Oct 05, 2017 04:16 AM

    This is what i see in the DB (Item table) ... worth a try.

        <params>
            <param name="@AssignedResources" type="Altiris.Common.GuidCollection, Altiris.Common, Version=8.1.5276.0, Culture=neutral, PublicKeyToken=d516cb311cfb6e4f">
                <ArrayOfGuid xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
            </param>
            <param name="@AlertUser" type="System.Boolean">
                <boolean>true</boolean>
            </param>
            <param name="@PromptText" type="System.String">
                <string>New Client Job is scheduled to run.</string>
            </param>
            <param name="@MaxDeferTime" type="System.Int32">
                <int>5</int>
            </param>
            <param name="@AllowCancel" type="System.Boolean">
                <boolean>false</boolean>
            </param>
            <param name="@OverrideMaintenanceWindows" type="System.Boolean">
                <boolean>true</boolean>
            </param>
        </params>



  • 3.  RE: ASDK: Schedule a job (task) with option "Allow the user to defer execution of this task"

    Posted Oct 05, 2017 04:58 AM

    Not working for me (ignored - task is running)



  • 4.  RE: ASDK: Schedule a job (task) with option "Allow the user to defer execution of this task"

    Posted Oct 30, 2017 07:34 AM

    I have added this as an IDEA. Please vote up that Symantec consider implementing this in the next version of the ASDK.

    https://www.symantec.com/connect/ideas/asdk-schedule-job-task-option-allow-user-defer-execution-task

     



  • 5.  RE: ASDK: Schedule a job (task) with option "Allow the user to defer execution of this task"

    Posted Nov 20, 2017 08:42 AM

    how it can help,,