Hi Team,
Curious to know whether is it acceptable to make some OS calls from workflows ? Few use-cases can be as below but not limited to:
- Accessing an env variable and using the same to upsert in search attribute.
Further, given the value of the env variable can change over the time, I am planning to usesideffecthere. - Initiating a command using
Exec(). Given maintaining idempotency in activity is complicated here, is it fine to perform command execution from workflow itself ? Again performing this viasideeffectto make sure singleton execution of the same.
Will these use-cases be considered an anti-pattern ?