Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

  1. Create Card with Card ID : “WooCommerce” (or any) - this card as imaginary customer

    image-20240903-025458.png


  2. Link this Card ID in WooCoomerce Upload Task : Parameter ContractCardID

    image-20240903-025639.png

  3. Create Webhook to trigger when contract Activated Or Ended

    image-20240903-031102.png


    Enabled : Yes
    Custom Mode : Yes
    Fire on Changed : Yes
    Data Type : Contract
    Url : dummy
    Criteria : [Card Contracts][[Card.Card ID] = 'WooCommerce'] And [Workflow Status.Name] In ('Active', 'Closed')
    Property Changed : WorkflowStatus
    Contents : {FUNCTION:WooCommerceContractUpdateProduct}

  4. Create a contract with this imaginary customer only

    image-20240903-030026.png
  5. Add Product and set active contract

    image-20240903-030237.png
  6. Task product upload will update this product

  7. Result in WooCommerce
    a. Before

    image-20240903-030450.png

    c. After

    image-20240903-030811.png
  8. When contract ended, Webhook will trigger and Task will run on schedule to update the product to WooCommerce

  • No labels