Hi All,

I have configured an Entitlement, a Resource and a workflow to work all
together, so lets say I have the following:

Entitlement: *My Application Entitlement*
From an Application Entitlement Loopback Driver

Resource: *My Application*

Workflow: *Request Resource WF*
Note: A modified version of the "Resource Approval" Provisioning
Request Definition.

So every component is integrated as expected (I believe), the resource
uses the entitlement, and also uses the workflow for the approval
process.

I configured the Resource to have not just the Required Entitlement
Parameter (labeled "*Account ID*"), but other fields, like
"*Justification*", but the Resource must only maintain the "Account ID"
as the resource parameter that will be displayed once the resource is
assigned.

This worked almost as expected, I want only to set the "*Account ID*",
and not the "*Justification*" value in the saved parameters inside the
resource that is set for the recipient.

Is this possible? I guess that I have to set the *NrfResourceRequest*
object, something like:

NrfResourceRequest.setDynamicParameterValues("ACCO UNT_ID");

But I haven't found how to do it, or any good reference of the
NrfResourceRequest object.

The other part involves on how to send parameters to the Resource from
another Workflow (*My Application Request*), what I want to do is define
a PRD to request this resource "*My Application*", and send them the
appropriates parameters, in this case: Account ID and Justification. So
it then start the PRD "*Request Resource WF*".

It looks something like this:

-MY APPLICATION REQUEST (PRD) --> MY APPLICATION (RESOURCE) --> REQUEST
RESOURCE WF (PRD) -

MY APPLICATION REQUEST[/B] (PRD) HAVE A *REQUEST RESOURCE ACTIVITY*,
THAT CALLS THE RESOURCE (*MY APPLICATION*), AND I CONFIGURE THE
\"*ENTITLEMENT PARAMS*\" PROPERTY TO SEND THE PARAMETERS (ACCOUNT ID AND
JUSTIFICATION), BUT I'M NOT ABLE TO SEND THEM SO IT CAN MAP TO THE
FIELDS DEFINED IN THE RESOURCE.

SO AT THE END THE APPROVAL FORM DISPLAYS:
*ACCOUNT ID*: PARAMETER 1 FROM MY APPLICATION REQUEST
*ACCOUNT ID*: PARAMETER 2 FROM MY APPLICATION REQUEST

I FOUND ANOTHER POST(THREAD: SPECIFYING MULTIPLE ENTITLEMENT PARAM.
VALUES IN JSON FORMAT), SO I TRIED THAT SOLUTION, BUT AT THE END IT
DISPLAYS THE JSON STRING, SOMETHING LIKE:
*ACCOUNT ID*: {'*ACCOUNT ID*':'PARAMETER 1 FROM MY APPLICATION
REQUEST','*JUSTIFICATION*':'PARAMETER 2 FROM MY APPLICATION REQUEST'}

SO TO SUMMARIZE, MY QUESTIONS ARE (INCLUDING PREVIOUS IN DIFFERENT
WORDS):

[B] 1) HOW TO SET THE PARAMETER OF THE RESOURCE INSIDE THE CUSTOM
APPROVAL WORKFLOW?
2) HOW DO I PASS THE PARAMETERS FROM A PRD TO A RESOURCE SO THEY
CAN MAP TO THE APPROPRIATE FIELDS?

Any help would be greatly appreciated.

Thanks


--
juanjosemtz
------------------------------------------------------------------------
juanjosemtz's Profile: http://forums.novell.com/member.php?userid=118944
View this thread: http://forums.novell.com/showthread.php?t=452539