Jump to content

Assets uploaded (Computer Peripheral) not being picked-up on Add/Get nodes of workflow (data missing the "0" in "urn:sys:0:" reference)


Berto2002

Recommended Posts

Hi, we are about to upload data for 500 headsets.

The values for h_used_by and h_used_by_name were exactly as they are in the user profile in Service Manager (same case etc)

The upload was "successful" according to the UI and if I view the record in the Asset Manager, the data looks fine (Used by and Name showing in the fields and lists.

BUT, when I run workflow to pick-up and use the peripheral asset uploaded it is not found/processed by the Add/Get nodes.

When I probe the database I have this name in the h_used_by field: 

urn:sys::First Last:FirstLast@ourdomain.gov.uk

When I edit the Used by manually and re-save it, I then have this name in the h_used_by field: 

urn:sys:0:First Last:FirstLast@ourdomain.gov.uk

The difference is the "0". Something about the upload is missing the "0" and this appears to render the data undetectable to the workflow. Defect?
 

Link to comment
Share on other sites

19 minutes ago, Berto2002 said:

The upload was "successful" according to the UI

The upload was successful, the issue is with the data.

19 minutes ago, Berto2002 said:

the data looks fine (Used by and Name showing in the fields and lists.

This is because the Display fields are populated.

19 minutes ago, Berto2002 said:

The difference is the "0". Something about the upload is missing the "0" and this appears to render the data undetectable to the workflow. Defect?

Not a defect, it's incorrect data within your import. (I'm sure we have addressed this previously with exactly the same issue that was causing the "Add Assets" node not to act as expected.)

You can correct the data by updating it using the Asset Import Tool. This can use a csv as a source, so you can correct the data in the spreadsheet, save as a csv if necessary, and then import the updated values. For this you will only need to populate h_owned_by and/or h_used_by with a valid UserId.
image.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...