This documentation provides a reference to the when . It belongs to the @medusajs/workflows-sdk package.
when
@medusajs/workflows-sdk
T
Then
values
condition
then