Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

task server tasks on asset selected in ticket

Updated: 21 May 2010 | 3 comments
lotsill's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

Creating my first task server task that will execute from helpdesk and running into some trouble.

What is the WORKITEM data field you need to input so the task will execute on the asset assigned in the ticket? From the drop down list, I don't have anything that references the GUID



Thanks





When attempting to run the task, I get the following error





<response result="failure">

- <![CDATA[

An exception occurred while attempting to access the task. Error: System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

at System.Guid..ctor(String g)

at Altiris.TaskManagement.TaskAccess.BuildParamValueCollection(BaseTask task, NameValueCollection inputParams)

at Altiris.TaskManagement.TaskAccess.StartTask(Guid taskGuid, String Name, NameValueCollection InputParams)

at Altiris.TaskManagement.Web.TaskAccess.StartTask()

at Altiris.TaskManagement.Web.TaskAccess.Page_Load(Object sender, EventArgs e)



]]>

</response>













Task properties





Name: HELLOOOOO WORLD TEST

Comment:

Service Category: Change Management

Include in Common Service Category: No

Rank: 1

Display: Incident view page

Logging: Logging to incident will not occur

Status: Active

Visible to guests: No

Task is available: When ANY of these is TRUE

"Category" is the same as "Request\Software\Adobe/Macromedia\Acrobat Reader"

<end>

URL: http://SKYALTIRISNS/Altiris/TaskManagement/taskacc...

URL processing: Allow Helpdesk to process

URL parameters: @AssignedResources WORKITEM(managed_object_asset_tag)

Send parameters using: GET

Credentials: Impersonate the worker

Open in new window: Yes



discussion Filed Under:

Comments

lotsill's picture
18
Jul
2008
0 Votes 0
Login to vote

Any ideas??

Steve Petrasek

lotsill's picture
22
Jul
2008
0 Votes 0
Login to vote

FYI, here is the correct value that is needs for the asset to execute the task.





WORKITEM(managed_object_resource_guid)

Steve Petrasek

Danny Jeronimo's picture
18
Dec
2008
0 Votes 0
Login to vote

I am basically getting the same thing.



Name: Install FireFox

Description of Incident:

Service Category: Software Requests

Include in Common Service Category: Yes

Rank: 1

Display: Service Catalog

Status: Active

Visible to guests: Yes

URL: http://1H4XP61/Altiris/TaskManagement/taskaccess.a...

URL processing: Allow Helpdesk to process

URL parameters: @AssignedResources

Send parameters using: GET

Credentials: Impersonate the worker

Open in new window: Yes



pop up window from winuser console





- <response result="failure">

- <![CDATA[

An exception occurred while attempting to access the task. Error: System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

at System.Guid..ctor(String g)

at Altiris.TaskManagement.TaskAccess.BuildParamValueCollection(BaseTask task, NameValueCollection inputParams)

at Altiris.TaskManagement.TaskAccess.StartTask(Guid taskGuid, String Name, NameValueCollection InputParams)

at Altiris.TaskManagement.Web.TaskAccess.StartTask()

at Altiris.TaskManagement.Web.TaskAccess.Page_Load(Object sender, EventArgs e)



]]>

</response>