Xpath constraint that validates if variable contains certain variable
I want to retrieve a list from the database selecting all attributes with the subject attribute containing a certain ticket number. Currently I have the following Xpath constraint but I receive an error: [contains(Subject, $Ticket/TicketNumber)] Subject is a attribute in the entity I'm retrieving and $Ticket/TicketNumber is an available variable within this microflow. The error I get is: "The second argument of function 'contains' should be a string literal or variable" Any ideas?
You need to create a String variable holding the ticket number variable first. (Its value should be
You can then use this variable as second argument in the XPath query.