SAP-archive/SAPConversationalAI

add conditions to trigger requirements

tiulimg opened this issue · 2 comments

If I write a skill that need to get several requirements and check against my backend server information regarding some of those variables, I can select to trigger actions based on conditions, but can't do so with requirements.
Sometimes for the first step X requirements are important, and after step 2 other requirements are important, but all steps take part in "smart" data collecting for completing a specific task.
For example, I take phone number and password from users, then I give them a list of hikes they can register to, then I want to allow them to choose more hikes from the same list (minus what they already choosed), then they can end the hike selection and fill more details in the same task of registering for hikes.
I think it's logic to allow doing so in one skill where triggers check OR clause againt several "stages", and requirements/actions are condition based.

Hello,

I totally agree, requirements need to have conditions to support your usecases. Right now you need to create several skills and redirect your conversation to one of them to be able to create these conditional requirements.

It's in our backlog to have conditions for requirements ;)

This is what i'm doing, but i have now about 7-10 skills (or more) which could all be consolidated into one skill if there were conditions to requirements.