Posted: 7 Jan 2020 5:14 EST Last activity: 7 Jan 2020 10:07 EST
Run a Connector Rest on a Data-page with scope Node, 7.3.1
My team and I have a issue with our development.
Our need is to call a REST Service with a data-page to retrieve a token and a refresh-token but we do not want to call this service everytime.
We used the scope "Node" on data-page to share the token and we added a when rule to refresh or not the Data-page.
When we test a activity which call the Connector, it works well. But with data-page we have this: "the server responded with an HTTP 404 code, indicating that the resource does not exist. // The body of the service's response, which is set up for mapping in the Connector rule, was empty for this service call."
When we test in thread scope and requestor scope, it works well.
How can we manage the service call in node scope? And why it works on thread and requestor scope and not in node scope?
Could you then check on Tracer - during the execution of activity "pyInvokeRESSTConnector", look into a step page (usually, it's =unnamed=), the property pyResourcePath. It should containt the resourse URI
I test my Data-page only in my session and in check-out edition. I never commit, so I think that when I launch the data-page on node, the rule resolution of the node take the connector which is not in my ruleset. When I commit the rule, it finally works..