The EndsWith Post-processing function can be used in agents to set the true or false value, where the fields end with or not, either for character or for string respectively. For example, I have this scraping agent "EndsWith Function Example(Post-Processing)" in my account with 4 fields (Company, Contact, Country, IsEnd Mocteuma) and I want to make sure the Company fields end with Moctezuma is true and for other fields is false, in the IsEnd Moctezuma field. Here, we can use EndsWith Post-processing funtion.
Edit the scraping agent by clicking on the
Go to the field IsEnd Moctezuma and click on the
Now , click on the
Add post-processingbutton to add the EndsWith function, the below dialog box will appear
Now enter the input text as a Moctezuma which compare to this field of the table and return the
truewhenever it is matched else
Savethe function and the scraping agent configuration
And finally, re-run you agent to apply the changes.
After EndsWith Function
If you notice the screenshot below, the IsEnd Moctezuma field has been updated by EndsWith Post-processing function.