- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
The only action that execute requests is executeRequestJson (executeRequestJsonText use it as well).
I added this in the action:
var customRequestAction = Server.getCustomProperty(restHost, "customRequestAction");
if (customRequestAction != null) {
eval('var objectsProperties = System.getModule("' + customRequestAction.module.name + '").' + customRequestAction.name + "(restHost, method, url, params, content, contentType);");
return objectsProperties;
}
Which gets the custom property value and execute the action.
With duplicating executeRequestjson (and removing thee lines to avoid infinite loop), adding a throw "stop" at the start I cannot run a single query on the host including the ones during Create a type workflow.
Please double check that the action is not executed adding a throw and double check if you have the lines I pasted in your executeRequestJson