Support auto_inactive in workflow

At the moment, environment in workflow only accept two arguments, name and url, it would be nice if it can also receive auto_inactive parameter