Renaming based on XML data pull
Posted: Fri Feb 28, 2020 1:48 pm
Hello!
I am currently working on building a workflow that renames a job based on XML metadata pulled from a PDF form filled out by clients. For example, they enter their province, and I am trying to Use Search and Replace based on singular string variables. If they enter "Ontario", it is replaced by ON in the job's new name. Would this be the correct way to go about it, or would scripting an If/then statement would be more appropriate?
I am new to switch so I am not sure what the best way to go about this is...thanks!
I am currently working on building a workflow that renames a job based on XML metadata pulled from a PDF form filled out by clients. For example, they enter their province, and I am trying to Use Search and Replace based on singular string variables. If they enter "Ontario", it is replaced by ON in the job's new name. Would this be the correct way to go about it, or would scripting an If/then statement would be more appropriate?
I am new to switch so I am not sure what the best way to go about this is...thanks!