I tried to add openwhisk alarms to my app using /whisk.system/alarms https://github.com/AdobeDocs/adobeio-runtime/blob/33d0979a45b9e35e8addaad7e97dfb00f8ea5e12/reference/prepackages.md and added a new trigger to my manifest.yml file as following: triggers:
myIntervalTest:
feed: /wh...
@SarahXu I don't think the provided pattern works, at least I received errors when using the code in my manifest.yml file.After some testing I think the pattern using openWhisk alarms should be something like this: ...
triggers:
myCustomTriggerName:
feed: /whisk.system/alarms/alarm
inputs:...
I was trying to use the aio-lib-state https://github.com/adobe/aio-lib-state and was running into different issues on my local maching. Issues on "init"first, I tryed to include just the sdk and init storage using the following code in my simple action: const stateLib = require('@adobe/aio-lib-state...
Hi @Mihai_Corlan thanks a lot for the fast reply and confirmation! will give it a try. on the other hand, that means we need to be careful using this feature and create a proper documentation
Hi all. have a question regarding aio-lib-state: https://github.com/adobe/aio-lib-statewhat is the expiry of a key I set in an action? is the state cleared after an action or persits for a given time?example: action1 sets a key to the state, can a action2 get the value when running later (and indepe...
based on the idea from @SarahXu I found this blog post and it exactly describes the steps to make within the app: https://medium.com/openwhisk/whisk-deploy-alarm-trigger-6c0984b06745
Hi @duypnguyen thanks for explanation. Yes, we are fully aware that using a webservice makes to action possible to run for everybody (but in this case this is ok). We are just looking for a way to have an action both accessible in the UI as well as running with the alarm package. so we will try to u...