Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

add conditions to trigger requirements #126

Open
tiulimg opened this issue Dec 17, 2018 · 2 comments
Open

add conditions to trigger requirements #126

tiulimg opened this issue Dec 17, 2018 · 2 comments
Assignees

Comments

@tiulimg
Copy link

tiulimg commented Dec 17, 2018

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.

@janteuni
Copy link
Contributor

janteuni commented Dec 31, 2018

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 ;)

@janteuni janteuni self-assigned this Dec 31, 2018
@tiulimg
Copy link
Author

tiulimg commented Dec 31, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants