Documentation or examples for Evaluate Expression Async Activity
How does Evaluate Expression Async work? I think I need this activity to execute some Javascript functions with a Promise return, but I cannot get it working.
GXWF Sample Site (geocortex.com) doesn't contain an example for this workflow activity
1
-
If the Expression input is a promise, the Evaluate Expression Async activity will wait for the promise to resolve and return the result.
1 -
An example would be very helpful.
new Promise((resolve, reject) => { setTimeout(() => { window.console.log("resolving ..."); resolve("... done"); }, 1_000); });… doesn't seem to work for me. Nothing being logged.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare