Decision Table return string error
I'm trying do a multiple if-else statement in an activity.
It checks the string value of a property then returns the corresponding description.
E.g.
When .Type == "OBJECT" , Property-Set .Description = .ObjectDetail When .Type == "PERSON" , Property-Set .Description = .PersonDetail
A colleague suggested using Decision Tables to make it look neater.
However, if the return string property starts with the value "Call ..." , it creates an error :
Failed to find a 'RULE-DECLARE-DECISIONTABLE' with the name '...' that applies to 'This-Class'; no rules with this name were found in the rulebase.
Is there a way to resolve this?