[Describe this component in one or two sentences.]
[Insert component icon Image file here.]
[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.]
[Define the output value data types. If multiple output data types exist, you can insert a table.]
[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.]
[Describe any setting options that change the way this component behaves.]
[Name each use case that you include below.]
[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.]
Running the Clean Ownership task did the trick. Thank you for the suggestion and solution.
Thank you kevin, I will try it out and let you know.
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.
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?
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.
Where/how are you confirming the ownership assocation? With a query to the database or somewhere in the SMP Console?
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.
Can you attach a sample of the workflow. I am trying to do the exact same thing.
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.
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
Screenshot highlighting the three components that edit the asset information and then create a process message.
The Data Mapping for the user Owners field in the Set User Owners For Asset Component
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?
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.
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.