Adding dynamic schema inputs from token picker into the definition for hybridTriggers #2855
Replies: 1 comment 1 reply
-
This has been discussed in May before the build during button trigger and hybrid trigger design discussion in office hours. So i am wondering now why can't the same approach be followed for hybrid trigger. |
Beta Was this translation helpful? Give feedback.
-
For the hybrid trigger, the inputs schema gets added to the trigger based on the output we select from the token picker in subsequent steps. Kind of like the manual trigger but for the hybrid trigger the triggerBody outputs are not a fixed set to stamp on to the designer. We have a proposal of defining a custom hook that lets us add this on the ppux side but need a way in LAUX to call this custom hook.
The idea here is:
For a flow structure and we go through all actions, all nodes and turn them into JSON.
When it comes time to get the Jason for the hybrid trigger, have an extension point somewhere in LAUX(Mostly during flow save) which calls into some code that we've written on ppux where goes if hybrid trigger, work out what the scheme should be, put the schema in the in the spot.
Example:
Initial code view on the trigger:
On selecting an output from the trigger:
Updated code view on the trigger:
Here is the video link of how the hybrid triggers currently work and the proposal:
https://microsoft-my.sharepoint.com/:v:/p/bnarayanared/ESKXhFzNrelFtBf6FLggpXYB2bfUvrh_ybn0CIyp2S3lMQ?e=MoqhHY&nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJTdHJlYW1XZWJBcHAiLCJyZWZlcnJhbFZpZXciOiJTaGFyZURpYWxvZyIsInJlZmVycmFsQXBwUGxhdGZvcm0iOiJXZWIiLCJyZWZlcnJhbE1vZGUiOiJ2aWV3In19
Beta Was this translation helpful? Give feedback.
All reactions