Do we think that it might be an idea to add the PRC to the Script engine context

Rod Widdowson rdw at steadingsoftware.com
Mon Jul 28 11:09:21 EDT 2014


I have been looking at the a ScriptedDataConnector.

When we discussed this we decided that the ProfileRequestContext should be
available (since we make it available everywhere else).

In looking at the ScriptedAttributeDefinition I see that in that case we
only make the AttributeRequestContext and the AttributeRequestWorkContext
available.  This is unsurprisingly since this code happened before it became
obvious that the PRC was the go-to context.

So, do we want to add the PRC as a name variable that the Attribute
resolution and filtering scripts can take advantage of?

For completeness, I'll note that the ScriptedPredicate does have the
ProfileRequestContext available.

/Rod



More information about the dev mailing list