Hello,

Is this scenario with scripts in external WARs supported?

If I put my script in a WAR called ua.war and deploy it I can access it
using a web browser, for example:

http://192.168.0.6:8180/ua/myscript.js

I have then tried to add it as a Global Script:

Type: external
Script: /ua/myscript.js
Workflows: X
Start Activity: X
Forms: X

I get this error when running my PRD in UA:


2013-11-13 16:19:43,121 ERROR [STDERR] (http-0.0.0.0-8180-5) Caused by:
com.novell.soa.af.ProvisioningException: Error evaluating start data
items for Provisioning Request id
[cn=CreateUser,cn=RequestDefs,cn=AppConfig,cn=UserA pplication,cn=DriverSet01,o=System]
version [289]
2013-11-13 16:19:43,121 ERROR [STDERR] (http-0.0.0.0-8180-5) at
com.novell.soa.af.impl.core.ProvisioningRequestImp l.getFormDefinition(ProvisioningRequestImpl.java:5 10)
2013-11-13 16:19:43,122 ERROR [STDERR] (http-0.0.0.0-8180-5) at
com.novell.srvprv.apwa.beans.AFResourceRequest.get FormDefinition(AFResourceRequest.java:287)
2013-11-13 16:19:43,122 ERROR [STDERR] (http-0.0.0.0-8180-5) ... 106 more
2013-11-13 16:19:43,122 ERROR [STDERR] (http-0.0.0.0-8180-5) Caused by:
com.novell.soa.af.DataItemException: 'Retrieve operation failed.'
encountered when attempting to evaluate imported script function
[/ua/myscript.js].
2013-11-13 16:19:43,122 ERROR [STDERR] (http-0.0.0.0-8180-5) at
com.novell.soa.af.impl.core.ProvisioningRequestImp l.getFormDefinition(ProvisioningRequestImpl.java:4 84)
2013-11-13 16:19:43,122 ERROR [STDERR] (http-0.0.0.0-8180-5) ... 107 more



Version 4.0.2 Patch C
Build Revision 39446