From 25a80cd0e146837dddcb59f7ad41647042d38078 Mon Sep 17 00:00:00 2001 From: marinahand Date: Wed, 2 Aug 2023 15:30:26 -0600 Subject: [PATCH] testing performResume --- docs/index.html | 2 ++ packages/cli/README-source.md | 2 ++ packages/cli/README.md | 2 ++ packages/cli/docs/index.html | 2 ++ 4 files changed, 8 insertions(+) diff --git a/docs/index.html b/docs/index.html index cf379cf8c..d942ab4ed 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3114,6 +3114,8 @@

z.generateCallbackUrl()

The app will have a maximum of 30 days to POST to the callback URL. If a user deletes or modifies the Zap or Task in the meantime, we will not resume the task.

+
+

performResume will only run when the Zap runs live, and cannot be tested in the Zap Editor when configuring the Zap. It is possible to use bundle.meta.isLoadingSample to load a fixed sample to allow users to test a step that includes performResume.

diff --git a/packages/cli/README-source.md b/packages/cli/README-source.md index 06e48bb99..8224d768f 100644 --- a/packages/cli/README-source.md +++ b/packages/cli/README-source.md @@ -908,6 +908,8 @@ const performResume = async (z, bundle) => { > The app will have a maximum of 30 days to `POST` to the callback URL. If a user deletes or modifies the Zap or Task in the meantime, we will not resume the task. +> `performResume` will only run when the Zap runs live, and cannot be tested in the Zap Editor when configuring the Zap. It is possible to use `bundle.meta.isLoadingSample` to load a fixed sample to allow users to test a step that includes `performResume`. + ## Bundle Object diff --git a/packages/cli/README.md b/packages/cli/README.md index 047a9c862..257c564d8 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -1881,6 +1881,8 @@ const performResume = async (z, bundle) => { > The app will have a maximum of 30 days to `POST` to the callback URL. If a user deletes or modifies the Zap or Task in the meantime, we will not resume the task. +> `performResume` will only run when the Zap runs live, and cannot be tested in the Zap Editor when configuring the Zap. It is possible to use `bundle.meta.isLoadingSample` to load a fixed sample to allow users to test a step that includes `performResume`. + ## Bundle Object diff --git a/packages/cli/docs/index.html b/packages/cli/docs/index.html index cf379cf8c..d942ab4ed 100644 --- a/packages/cli/docs/index.html +++ b/packages/cli/docs/index.html @@ -3114,6 +3114,8 @@

z.generateCallbackUrl()

The app will have a maximum of 30 days to POST to the callback URL. If a user deletes or modifies the Zap or Task in the meantime, we will not resume the task.

+
+

performResume will only run when the Zap runs live, and cannot be tested in the Zap Editor when configuring the Zap. It is possible to use bundle.meta.isLoadingSample to load a fixed sample to allow users to test a step that includes performResume.