replace '$workspace' variable with current workspace ID in invocation commands