This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

External object value list - value deletion with automatic filling of properties perservation

Hi,

we have an external object with company employee functions (CEO, CFO, etc.) in it's value list. We also have few classes and properties that are automatically filled with those functions. Sometimes what happens is that an employee leaves the company and that function gets deleted from the external source, so therefore it gets deleted in the object's value list aswell.

What happens next is that the automatic filling of those properties gets "destroyed", because the value they were filled with no longer exists (it exists in a deleted state), so I always need to change the calculation rule (Set Value) to the next employee, who is responsible and can stand in for the employee that left.

Is there any easy way to do this automatically?

I thought of an improvement idea, where you could set up an if statement on a value calculation rule, like "if IsDeleted". It would ask if the calculated value produces error from not being able to find the value from a value list, and if there was an error, it would go into that if statement, where there would be another Set Value.

Thanks for any feedback provided.

Dominik

Parents
  • Additional question: Can I set up a filter in Auto Calculated Properties that asks whether the value is deleted or not?

    I am trying to use "Contains (substring) -> (deleted)", but I think that "(deleted)" is not actually part of the DisplayValue string, so it doesn't accept it. I also tried "Is empty or missing", but this also doesn't work on this particular scenario.

  • Deleted objects have a timestamp in property 27 and reference to a user in property 28 (both are built in properties). You can identify deleted objects using one of those properties, but they will not be present on objects that have not been deleted. Therefor you cannot use IsEmpty on those properties to identify none deleted objects.

Reply
  • Deleted objects have a timestamp in property 27 and reference to a user in property 28 (both are built in properties). You can identify deleted objects using one of those properties, but they will not be present on objects that have not been deleted. Therefor you cannot use IsEmpty on those properties to identify none deleted objects.

Children