Skip to content

Actions

Factorial is a programmable system, letting organizations tailor Factorial to their use case.

Factorial's behavior can be modified using Actions. Actions can do things like fire HTTP requests to external services, validate a business rule before allowing an operation to proceed, or kick off another operation within Factorial. For example a work order can be configured to modify a custom field on an inventory line automatically.

Actions are evaluated atomically within the request, so if any part of the request fails, the action rolls back (with the exception of HTTP requests, which clearly cannot be unsent). This maintains data integrity even with complex rules.

Subscribable Entities

Actions can subscribe to lifecycle events from the following entities. The context passed to an action depends on the event.

EntityExample eventsAvailable context
InventoryCreated, received, installed, uninstalled, split, merged, moved, consumed, scrapped, or adjustedPart definition, quantity, location, parent and child inventory, kits, work orders, and operator
Work ordersCreated, started, held, resumed, completed, or canceledProcedure, steps, built inventory, kitted inventory, assigned operators, and schedule
StepsStarted, held, resumed, completed, or field updatedParent work order, parent inventory, assigned inventory, captured field values, and operator
UsersInvited, activated, deactivated, added to a team, or role changedUser, organization, teams, roles, and initiating user
CommentsCreated, edited, deleted, or mentionedComment, author, mentioned users, and the entity the comment belongs to

More entities and events are coming soon.

Actions

  • Send HTTP request (for example send message to Slack)
  • Create entities (inventory, work orders, comments, etc)
  • Modify custom fields on inventory, work orders, comments, steps, etc
  • Leave comment
  • Send email