Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Check to See if Asset Exists on Server - Asset.Refresh

We have the situation where we have assets in our java program, but in the flow of the program we don't know if the asset exists on the server or not, so we can't use the asset.refresh method because that will throw an exception that says the asset doesn't exist on the server. If we don't use the refresh method, in the case where the asset does exist on the server, and we update the asset, then we get a collision exception (collision detected on the asset being updated). Is there a way to check to see if the asset exists on the server, so that we know if we can call the refresh method or not? We couldn't find a method on the API that would do this.

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 06 '12, 2:47 p.m.

Question was seen: 5,492 times

Last updated: Apr 06 '12, 2:47 p.m.

Confirmation Cancel Confirm