You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: content/mapi.mdx
+20-2
Original file line number
Diff line number
Diff line change
@@ -802,11 +802,13 @@ Contains all properties of the <a href="#workflowstep-definition">`WorkflowStep`
802
802
803
803
Must set either `settings.delay_for` or `settings.delay_until_field_path`.
804
804
805
+
Use both to describe a <ahref="/designing-workflows/delay-function#wait-until-a-relative-timestamp">relative delay</a>.
806
+
805
807
<Attributes>
806
808
<Attribute
807
809
name="settings.delay_for"
808
810
type="object"
809
-
description="A duration object that describes how long to wait before proceeding to the next step."
811
+
description="A duration object that describes how long to wait before proceeding to the next step. When used in conjunction with `delay_until_field_path`, describes a delay relative to the specified timestamp."
810
812
/>
811
813
<Attribute
812
814
name="settings.delay_for.unit"
@@ -816,7 +818,7 @@ Must set either `settings.delay_for` or `settings.delay_until_field_path`.
816
818
<Attribute
817
819
name="settings.delay_for.value"
818
820
type="number"
819
-
description="A non-negative integer."
821
+
description="The count of units to delay for. Must be a non-negative integer unless used in conjunction with `delay_until_field_path` (where a negative integer describes a relative delay prior to the specified timestamp)."
820
822
/>
821
823
<Attribute
822
824
name="settings.delay_until_field_path"
@@ -829,6 +831,7 @@ Must set either `settings.delay_for` or `settings.delay_until_field_path`.
829
831
<ExampleColumn>
830
832
831
833
```json title="Delay step"
834
+
// Delay for 30 seconds
832
835
{
833
836
"ref": "delay_1",
834
837
"settings": {
@@ -841,6 +844,21 @@ Must set either `settings.delay_for` or `settings.delay_until_field_path`.
0 commit comments