We are trying to use "Inbound SMS" activity to query the Incoming SMS table(nms:inSMS). Our requirement is for certain keywords coming in, we need make an external API call for each of the message. In the Javascript I have written the code which makes the API call
But I have few questions with this activity.
1. Whenever I try to edit the query and save the workflow, it throws an error "Unable to find Key values for the element 'Condition' (document with schema ctx) ". Why is this happening?
2. How do I run this activity continously so that it always keeps polling the Incoming SMS table. Is scheduler the only way to do it?
3. Can this acitivty be used as " Event based" trigger rather than scheduler based?
4. How do I manage this for two different keywords and each of these keywords needs to make two different API calls? Should I create two workflows?
Any help is appreciated, thanks in advance!