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!
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hello @aashu980324
1. Do you have any code in the script section of Inbound SMS activity? If yes, we need to see the code to find a possible issue.
2. Yes, You will have to use the scheduler.
3. It can be trigger-based, but you will have to listen to the events somehow.
4. You can use the split activity after inBound sms to check the keyword and have two transitions for API calls
Hello @aashu980324
1. Do you have any code in the script section of Inbound SMS activity? If yes, we need to see the code to find a possible issue.
2. Yes, You will have to use the scheduler.
3. It can be trigger-based, but you will have to listen to the events somehow.
4. You can use the split activity after inBound sms to check the keyword and have two transitions for API calls
Views
Likes
Replies