Adding Logic to Workflows with Actions and Process Variables