Not able to getcontentDetails with UUID

 

I face above attached error during deployment inspect to higher environment. When i apply getcontentdetailsbyuuid on 1st UUID, it returns me the name of the object. But when i try to do getcontentdetailsbyuuid on the 2nd one, it throws me an error "Expression evaluation error at function 'getcontentdetailsbyuuid' [line 3]: String index out of range: -1"

Can anyone of you let me know the reason for it? Is it because that it is entity?

Thanks in advance.

  Discussion posts and replies are publicly visible

Parents
  • Are you executing this function in the destination or source environment? You will need to execute the getcontentdetailsbyuuid in the source environment where this patch was exported from.

     

    EDIT: I did test this on 17.3 with a data type entity and I received the error "No object with this UUID has been found".  Depending on your version of Appian, this could be the same error you're experiencing.  As Colton mentioned below, I was able to identify the UUID from the data store containing this entity.  It appears your suspicion is correct that you are unable to use the getcontentdetailsbyuuid function for entities.

Reply
  • Are you executing this function in the destination or source environment? You will need to execute the getcontentdetailsbyuuid in the source environment where this patch was exported from.

     

    EDIT: I did test this on 17.3 with a data type entity and I received the error "No object with this UUID has been found".  Depending on your version of Appian, this could be the same error you're experiencing.  As Colton mentioned below, I was able to identify the UUID from the data store containing this entity.  It appears your suspicion is correct that you are unable to use the getcontentdetailsbyuuid function for entities.

Children