I need to perform a validation with Power FX within Power Automate Desktop that verifies if the variable "LinePDF" contains a value such as "Issue Date" and then assigns that value to a new variable called "Date"
I've been looking through the functions that Power FX brings but there is none like "Contains".
So far I have tried with the "StartsWith" function but I get the following error:
Invalid argument type (Record). Expecting a Text value instead. The function 'StartsWith' has some invalid arguments.
The code I have tried so far is the following:
Example code
It's important to note that I have Power FX enabled.
If you have any suggestions or would like to tell me what I am doing wrong, I would appreciate it.