You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the readme for the parser project which is a part of the FlowRunner.
4
+
5
+
6
+
## BNF
7
+
8
+
This is the BNF, [Backus-Nuar form](https://da.wikipedia.org/wiki/Backus-Naur_form), of the language used in Power Automate / Logic Apps expressions.
9
+
Their JSON definition can be found [here](https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference) and [here](https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language#functions) and the [json](https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json).
`string` contains a valid string including characters according to Azure Workflow definition language.
54
+
55
+
56
+
## Special expressions
57
+
Some expressions the user can define itself, since it is idempotent and does not use the engine state.
58
+
59
+
Some expression should not be user dependent, such as
60
+
61
+
* compose
62
+
* outputs
63
+
* triggerOutputs
64
+
* variables
65
+
66
+
These are all expression which interact with data stored in the state.
67
+
68
+
69
+
70
+
Eventuelt skriv om hvordan det var sværet bare at gå igang, men efter du læste en artikel og lavede en BNF var det nemt. Dette var måske også fordi du vidste hvordan Sprache virkede og hvad der skete under moteren og aritklen gav dig en dybere forståelse af hvad man kan! :D
71
+
72
+
73
+
## Extra observations
74
+
### Null conditional
75
+
We'll handle this, of course, and I've created a flow to figure out how to handle this :D
76
+
77
+
As seen in the currect version of owner grammer, we'll accept null conditional after a function or after a indexer. If the part before the null conditional is null, we'll stop executing and return??
78
+
79
+
The flow used to test is called: `null condtional` and is located in DG Lab 6; [link to flow](https://emea.flow.microsoft.com/manage/environments/934e6690-2c92-4a37-ab81-31be17f7724a/solutions/86491904-39dd-ea11-a813-000d3ab11761/flows/d40eaddf-55a2-4b98-87e3-c21c4fcfc57a).
80
+
81
+
Error (with out null condition):
82
+
> InvalidTemplate. Unable to process template language expressions in action 'Respond_to_a_PowerApp_or_flow_-_Without_null_conditional' inputs at line '1' and column '2357': 'The template language expression 'variables('NullVariable')['first']' cannot be evaluated because property 'first' cannot be selected. Please see https://aka.ms/logicexpressions for usage details.'.
83
+
84
+
With null condtion, the answer is null and read as an empty string in some cases?
0 commit comments