There are 2 errors:
- Since your microflow is accesible from the client, you need to specify which roles should be able to see/use it. You can set the allowed roles in the properties section of the microflow. You can easily add this section to your screen like this:
- Error2: There is something wrong with the expression used in the Change Object action, you you show or post the expression?
I assume it must be related to type compatibility.
Check if $TrainingEvent/StartDate is of type datetime, and $Course/duration is of type integer
The reason for the first issue is, that you haven’t selected any user role to execute the Microflow.
For the second one it would be helpful, if you could provide the complete error.
This is the error description for microflow error:
CE0117Error(s) in microflow expression.Property 'Member 'EndDate'' of action activity 'Change 'TrainingEvent' (EndDate)'Microflow 'OCH_TrainingEvent_CalculateEndDate'MyFirstModule
Thank you in advance.