Scenario:
I want to pass the current time as default parameter in one of the fields of an action of my custom connector.
My approach:
In my swagger definition, I have the field defined as
"startdate": { "type": "string", "description": "Start Date", "title": "Start Date", "x-ms-visibility": "", "default": "utcNow()" }
But when I use the action in a flow, the field is shown as
When the flow runs, it does not take in the expression value.
This is not read as an expression as opposed to when it is added manually by me, where it is displayed as
What change should I make to put expressions as default values.
Thanks
Thanks
Expressions should be enclosed under @{}
As given below
"startdate": { "type": "string", "description": "Start Date", "title": "Start Date", "x-ms-visibility": "", "default": "@{utcNow()}" }
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional