Client Management Suite

 View Only
  • 1.  Pass a variable to a Task

    Posted Dec 31, 2009 10:15 AM
    Anyone know of a way to pass a variable to a  Task or Job?  

    To be a little more descriptive I am creating a workflow that will gather information from a user.  I want to then pass that information as an argument to a script(This is on a different server then the workflow server.  different operating system also).  It seems to me that there should be a way to do this I am just not seeing it.  I was looking at the ASDK 2.0 and I did see on the execute task method an argument for input parameters but I don't know how you would set these up on the task to pass the value.  The examples just show assigning computers and min wait time and max wait time.  

    Any help is greatly appreciated,

    Thanks.


  • 2.  RE: Pass a variable to a Task

    Posted Jan 04, 2010 08:59 AM
    FYI I found that if you use the GetTask cmd in the cli it will give you back the input parameters however this appears to be dependent on the task type which for a run script task does not include the ability to specify a variable or anything like that, just assigned resources and completion requirements.