Hi - trying to find out if Apigee supports calling a JSC ResourceFile as a direct step in a flow. Currently, I have several Env. level resourcefiles and the way I use them, I add a Javascript policy and add in the XML a ResourceURL tag and reference the env. resourcefile, and then I use the policy inside of flow, making the JS policy appear as not needed since all i am doing is referencing something external before I can use in proxy endpoints flow
Solved! Go to Solution.
Yes. Apigee supports calling a JavaScript resource file directly in a flow. You just include that under the <ResourceURL> tag.
Eg.
<Javascript name='PathSetterPolicy' timeLimit='200'> <ResourceURL>jsc://pathSetter.js</ResourceURL> </Javascript>
More details on this page. If you are thinking of reusing a file across environments, upload the file with Org scope. Again instructions are available in this above doc link.
Thanks, Sudhee