Workflow and ServiceDesk Community

 View Only

Set User Owners For Asset Component 

Jun 13, 2012 10:46 AM

This component has not yet been documented by the Workflow community.

Earn Connect points by contributing your knowledge about this component to the Workflow community. 



Component definition

[Describe this component in one or two sentences.]

Component icon

[Insert component icon Image file here.]

Definition of component input value or values

[Insert a table that lists the name and description of input values, including example formats. Modify the following table as needed. Insert additional tables as needed.]

Table: Input values
Input value name Input value data type Example format
[Input 1: mail address] [Text] [user@domain.com]
[Input 2: account name] [Text] [domain\user]

 

Definition of component output value or values

[Define the output value data types. If multiple output data types exist, you can insert a table.]

Connection information

[If this component connects to a process or product outside Workflow, insert the definition of the connection string and/or authentication requirements to make that connection.]

Component settings

[Describe any setting options that change the way this component behaves.]

 

Use case

[Name each use case that you include below.]

[Example 1]

[Describe the use case. Insert screen shots or package files. Insert a description of how the settings are configured. Insert additional information about the use case that you are submitting.]

[Example 2]

[Describe the use case. Insert screen shots or package files. Insert a description of how the settings are configured. Insert additional information about the use case that you are submitting.]

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Dec 19, 2013 07:25 AM

Running the Clean Ownership task did the trick. Thank you for the suggestion and solution.

Dec 17, 2013 06:26 PM

Thank you kevin, I will try it out and let you know.

Nov 13, 2013 01:47 PM

That is my guess.  After you run your workflow check the ownership either with a query showing the association, or check like this in the SMP console:

Home > Service and Asset Management > Manage Configuration Items

Make sure the top folder "CI Management" is selected.

Search for the asset by serial number.

The screen that comes up should show the new owner, but if you go into edit the record it will still show the old owner until after you run clean ownership.

You could also check by running the clean ownership job after your workflow completes.

 

 

Nov 13, 2013 01:41 AM

dpbees,

I've definitely seen the Clean Ownership task; however, haven't really dug into it to see what it's doing. Is it quite possible, then, that my workflow is working as intended, yet isn't updating ownership immediately based on when the Clean Ownership task runs?

Nov 11, 2013 04:20 PM

For example if you are looking in the Edit Configuration Item sceen, it does not always reflect the true/current assocations, even though they have been set correctly.  (At least after changing them with this workflow componont)

Not sure if this is what is happening for you, but it caused me some confusion when we went to 7.1.

There is a job called Clean Ownership that typically runs on 12 hour intervals, that cleans this up.

Nov 11, 2013 03:38 PM

Where/how are you confirming the ownership assocation?  With a query to the database or somewhere in  the SMP Console?

Nov 11, 2013 03:25 PM

Blade_CO:

Attached is the latest copy of my workflow project. Once I complete this basic editing portion, I would like to create two more functions--specifically for the asset manager role--where assets can be bulk added and edited through Service Desk.

Nov 06, 2013 03:27 PM

Can you attach a sample of the workflow.  I am trying to do the exact same thing.

Oct 30, 2013 06:23 AM

UPDATE

I was testing my changes this morning and it appeared the set user component worked...once. I removed the owner of my test asset and tried a second and third time, but no go. Any thoughts on this behavior where it seems to write the record only once?

I also tried writing the owner to an asset that already had an owner set to 100%, but the changes didn't take. Do I need to remove the prior ownership first, or does the component handle doing this?

Thanks.

Oct 30, 2013 06:02 AM

reecardo,

Here a few screenshots that shed some light on my modifications. I still cannot seem to get this component to successfully write the owner to the asset record in the SMP. Any thoughts or suggestions or samples would be great. Thank you.

Modifications to the Edit Equipment form

AssetView_1.jpg

Screenshot highlighting the three components that edit the asset information and then create a process message.

AssetView_2.jpg

The Data Mapping for the user Owners field in the Set User Owners For Asset Component

AssetView_3.jpg

Oct 25, 2013 07:19 PM

reecardo,

Check and check. Let me give you some background on what I am doing. I am updating the SD.AssetViewProject to allow analysts to update the asset's location, status, and ownership directly from Service Desk. I can get the status and location to update with no problem and the component I am calling to update the ownership doesn't error out, it just doesn't make the assignment.

I know the asset I am trying to modify and I have written an integration that converts the SD guid to the SMP guid so as to assign the proper owner; however, it doesn't actually create the association.

This component is asking for the asset guid, which I have and I am assigning the SMP user guid to the id field of the Set Users for Asset Component in the user Owners field. My question becomes, am I populating the right user value in the user Owners field of this component?

 

Oct 25, 2013 10:50 AM

The main thing to remember when using any generated resource component is to have a Create SMP Credentials component before it (this basically directs which SMP you're working against). Also, you need to know the guid of the asset you're trying to set the owners of.

Oct 25, 2013 10:38 AM

Any chance I could get an example of how to call this component? I am trying to set the an asset's owner from within Workflow; however, I cannot seem to get the configuration right.

Related Entries and Links

No Related Resource entered.