Access mds_var variables from script that run during workflow.
Issue #418
resolved
It would be nice to be able to access the mds_var
variables from with a script that runs "when running workflow." The main use case I have is to be able to validate inputs eg.
if [[ -z $mds_var1 ]]; then
echo "No username filled in. Stopping."
exit 1
fi
if [[ $mds_var1 != $mds_var2 ]]; then
echo "Username filled in as ${mds_var1} and ${mds_var2} which don't match. Stopping."
exit 1
fi
Since the environment variables aren’t set until after reboot this is not currently possible to my knowledge.
Comments (6)
-
reporter -
reporter - marked as enhancement
-
nice! BTW, I push to the dev branch so that should always be up to date.
-
added to imagr 1.6.4, build 4078
-
- changed status to resolved
added to imagr 1.6.4, build 4078
-
reporter Awesome
- Log in to comment
Went ahead and implemented it. The Imagr fork doesn’t appear to be up to date so I had to manually edit MainController.py inside the release copy of Imagr.app