Workflow Soluiton

 View Only
  • 1.  Workflow & Altiris ASDK Timeout

    Posted Feb 04, 2011 05:31 AM

    Hello together,

    i have built a complex workflow which uses the altiris asdk to put in clients into filters. Since there are many clients about 1000 and every client will be put in up to 30 different filters my worklfow takes some time.

    The problem is now that it stops after almost 2mins (about 1min 45s). I have tried to change some IIS settings it didn't help.

    I do think that the altiris ASDK Timeout stops my workflow. It seems that the default ASDK Timeout is after 1.67 minutes.

    How can I set this timeout to an higher value inside my workflow process ?

     

    Thanks for any help

     

    Cheers

    winer



  • 2.  RE: Workflow & Altiris ASDK Timeout

    Posted Feb 04, 2011 07:05 AM

    The generated ASDK components should have a timeout property you can specify on the Advanced tab. The default is 60000 ms (1 min)



  • 3.  RE: Workflow & Altiris ASDK Timeout

    Posted Feb 08, 2011 05:40 AM

    Hello reecardo,

     

    thank i know this setting, it is not that what causes the problem.

    I have different ASDK Components in my workflow about 60i. They work fine, the problem is really that the ASDK times out after about 2mins.

    has anybody got an idee where i can set the ASDK Timeout ?

     

    thanks

    winer



  • 4.  RE: Workflow & Altiris ASDK Timeout

    Posted Mar 15, 2011 01:02 PM

    Hi.

    I have the same problem. When we have 2 asset in CMDB, Resource Components for NS7 put all asset correctly. But when we try to put all 400 asset bu this Integration Component arrive a the problem in timeout. 

    How we resolve the problem at the end?

    Thanks.



  • 5.  RE: Workflow & Altiris ASDK Timeout

    Posted Mar 21, 2011 04:42 PM

    Not the cleanest solution, but have you tried to do this in a loop?

    I've had to get around timeouts in the asdk in 6.x before by doing the calls in multiple smaller sets.

    Use a 'For Each Item in Collection' on your main list of resources followed by 'Add Items to Collection' to create a second array that is much smaller. Put in some if logic that counts the number of items in your second collection and when it reaches X number make a call to the asdk. When this smaller call comes back clean (and quicker) erase the second collection and then continue by adding the object you stopped at to the second collection and continue the main loop. Be sure to also tell your workflow to run the asdk call after the collection ends to catch any stragglers that didn't make it within the loops.

    I just uploaded an example to the site and will link to the file when it has been approved. My description is not as good as the uploaded example.

    Hope this helps,

    Parksddd



  • 6.  RE: Workflow & Altiris ASDK Timeout

    Posted Mar 22, 2011 02:47 PM

    As promissed here is the download link to the example I listed in my last post.

    https://www-secure.symantec.com/connect/downloads/example-using-array-looping-make-asdk-calls-quicker-workflow

    Hope this helps,

    Parksddd



  • 7.  RE: Workflow & Altiris ASDK Timeout

    Posted Jul 29, 2011 03:44 PM

    Has there been any other solutions to this issue? I am actually seeing this show up in ServiceDesk now. The Manage Equipment project calls the ASDK to pull information from CMDB. We have thousands of assets but what should be queried for are just the collections. Not sure exactly what its doing but the errors are that the calls to the ASDK are timing out and no matter how much we increase the timeouts for specific objects in the workflow, the timeout still occurs.