Knowledge Partner
Knowledge Partner
314 views

GCV's in UA-4.01 in INtegration Activity

I want to use a GCV with User App URL, Username, Named Password, etc in
the Integration activity, since I need to have at least three PRD's
(Create Role, Modify Role, Remove Role) and I have to stage them through
lab, dev, qa, prod. I do NOT want to have to go change 3 fields in each
PRD per environment. What a PITA!

I figured I would just use a GCV, now that GCV's are available in UA 4.

But no GCV selector in the ECMA editor.

Does that mean it is not supported, or does it mean that the UI is
missing it? Anyone know?
Labels (1)
0 Likes
7 Replies
Knowledge Partner
Knowledge Partner

Re: GCV's in UA-4.01 in INtegration Activity

On 12/16/2011 1:40 PM, Geoffrey Carman wrote:
> I want to use a GCV with User App URL, Username, Named Password, etc in
> the Integration activity, since I need to have at least three PRD's
> (Create Role, Modify Role, Remove Role) and I have to stage them through
> lab, dev, qa, prod. I do NOT want to have to go change 3 fields in each
> PRD per environment. What a PITA!
>
> I figured I would just use a GCV, now that GCV's are available in UA 4.
>
> But no GCV selector in the ECMA editor.
>
> Does that mean it is not supported, or does it mean that the UI is
> missing it? Anyone know?


So I pasted in GCV("gcv.name") from elsewhere where the editor provided
it, and you get a GCV not defined.

Ok, so bug then...

0 Likes
Knowledge Partner
Knowledge Partner

Re: GCV's in UA-4.01 in INtegration Activity

On 12/16/2011 1:45 PM, Geoffrey Carman wrote:
> On 12/16/2011 1:40 PM, Geoffrey Carman wrote:
>> I want to use a GCV with User App URL, Username, Named Password, etc in
>> the Integration activity, since I need to have at least three PRD's
>> (Create Role, Modify Role, Remove Role) and I have to stage them through
>> lab, dev, qa, prod. I do NOT want to have to go change 3 fields in each
>> PRD per environment. What a PITA!
>>
>> I figured I would just use a GCV, now that GCV's are available in UA 4.
>>
>> But no GCV selector in the ECMA editor.
>>
>> Does that mean it is not supported, or does it mean that the UI is
>> missing it? Anyone know?

>
> So I pasted in GCV("gcv.name") from elsewhere where the editor provided
> it, and you get a GCV not defined.
>
> Ok, so bug then...


Because section 9.1.6 in the Design docs says:

"These GCVs are available to you in all activities on the workflow and
not on the forms."

And the full quote is:

"9.1.6 About Global Configuration Values Integration

Global configuration values (GCVs) are settings that are similar to
driver parameters. Global configuration values can be specified for a
driver set as well as an individual driver. If a driver does not have a
GCV, the driver inherits the value for that GCV from the driver set.

GCVs are integrated with the workflow process through the ECMA
Expression Builder, which provides a bridge to the GCVs from the driver
and the GCV resource objects. To access a GCV through the ECMA
Expression Builder, goto the variables pane and select any GCV from the
GCV list. For GCV resource objects to be available on the variable pane,
ensure that they are linked to the User Application driver. These GCVs
are available to you in all activities on the workflow and not on the forms.
"

So this is missing functionality since Integration Activities is a
workflow activity. And I just want them to specify the URL and user
name for the target of the IA.




0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: GCV's in UA-4.01 in INtegration Activity

On 12/16/2011 02:04 PM, Geoffrey Carman wrote:
> On 12/16/2011 1:45 PM, Geoffrey Carman wrote:
>> On 12/16/2011 1:40 PM, Geoffrey Carman wrote:
>>> I want to use a GCV with User App URL, Username, Named Password, etc in
>>> the Integration activity, since I need to have at least three PRD's
>>> (Create Role, Modify Role, Remove Role) and I have to stage them through
>>> lab, dev, qa, prod. I do NOT want to have to go change 3 fields in each
>>> PRD per environment. What a PITA!
>>>
>>> I figured I would just use a GCV, now that GCV's are available in UA 4.
>>>
>>> But no GCV selector in the ECMA editor.
>>>
>>> Does that mean it is not supported, or does it mean that the UI is
>>> missing it? Anyone know?

>>
>> So I pasted in GCV("gcv.name") from elsewhere where the editor provided
>> it, and you get a GCV not defined.
>>
>> Ok, so bug then...

>
> Because section 9.1.6 in the Design docs says:
>
> "These GCVs are available to you in all activities on the workflow and
> not on the forms."
>
> And the full quote is:
>
> "9.1.6 About Global Configuration Values Integration
>
> Global configuration values (GCVs) are settings that are similar to
> driver parameters. Global configuration values can be specified for a
> driver set as well as an individual driver. If a driver does not have a
> GCV, the driver inherits the value for that GCV from the driver set.
>
> GCVs are integrated with the workflow process through the ECMA
> Expression Builder, which provides a bridge to the GCVs from the driver
> and the GCV resource objects. To access a GCV through the ECMA
> Expression Builder, goto the variables pane and select any GCV from the
> GCV list. For GCV resource objects to be available on the variable pane,
> ensure that they are linked to the User Application driver. These GCVs
> are available to you in all activities on the workflow and not on the
> forms.
> "
>
> So this is missing functionality since Integration Activities is a
> workflow activity. And I just want them to specify the URL and user name
> for the target of the IA.
>
>
>
>

Greetings,
Make sure you are on the latest Patch, because there was a bug about
GCVs not be accessible. Also, depending upon where you defined the GCV
you will either need to do a full stop/start of nds or just the User
App Driver.

--
Sincerely,
Steven Williams
Lead Software Engineer
NetIQ
0 Likes
Knowledge Partner
Knowledge Partner

Re: GCV's in UA-4.01 in INtegration Activity

On 12/16/2011 9:23 PM, Steven Williams wrote:
> On 12/16/2011 02:04 PM, Geoffrey Carman wrote:
>> On 12/16/2011 1:45 PM, Geoffrey Carman wrote:
>>> On 12/16/2011 1:40 PM, Geoffrey Carman wrote:
>>>> I want to use a GCV with User App URL, Username, Named Password, etc in
>>>> the Integration activity, since I need to have at least three PRD's
>>>> (Create Role, Modify Role, Remove Role) and I have to stage them
>>>> through
>>>> lab, dev, qa, prod. I do NOT want to have to go change 3 fields in each
>>>> PRD per environment. What a PITA!
>>>>
>>>> I figured I would just use a GCV, now that GCV's are available in UA 4.
>>>>
>>>> But no GCV selector in the ECMA editor.
>>>>
>>>> Does that mean it is not supported, or does it mean that the UI is
>>>> missing it? Anyone know?
>>>
>>> So I pasted in GCV("gcv.name") from elsewhere where the editor provided
>>> it, and you get a GCV not defined.
>>>
>>> Ok, so bug then...

>>
>> Because section 9.1.6 in the Design docs says:
>>
>> "These GCVs are available to you in all activities on the workflow and
>> not on the forms."
>>
>> And the full quote is:
>>
>> "9.1.6 About Global Configuration Values Integration
>>
>> Global configuration values (GCVs) are settings that are similar to
>> driver parameters. Global configuration values can be specified for a
>> driver set as well as an individual driver. If a driver does not have a
>> GCV, the driver inherits the value for that GCV from the driver set.
>>
>> GCVs are integrated with the workflow process through the ECMA
>> Expression Builder, which provides a bridge to the GCVs from the driver
>> and the GCV resource objects. To access a GCV through the ECMA
>> Expression Builder, goto the variables pane and select any GCV from the
>> GCV list. For GCV resource objects to be available on the variable pane,
>> ensure that they are linked to the User Application driver. These GCVs
>> are available to you in all activities on the workflow and not on the
>> forms.
>> "
>>
>> So this is missing functionality since Integration Activities is a
>> workflow activity. And I just want them to specify the URL and user name
>> for the target of the IA.
>>
>>
>>
>>

> Greetings,
> Make sure you are on the latest Patch, because there was a bug about
> GCVs not be accessible. Also, depending upon where you defined the GCV
> you will either need to do a full stop/start of nds or just the User App
> Driver.


I just tested in Designer itself, hitting the Run button in Designer
Composer snippet.

0 Likes
Highlighted
Anonymous_User Absent Member.
Absent Member.

Re: GCV's in UA-4.01 in INtegration Activity

On 12/17/2011 05:34 PM, Geoffrey Carman wrote:
> On 12/16/2011 9:23 PM, Steven Williams wrote:
>> On 12/16/2011 02:04 PM, Geoffrey Carman wrote:
>>> On 12/16/2011 1:45 PM, Geoffrey Carman wrote:
>>>> On 12/16/2011 1:40 PM, Geoffrey Carman wrote:
>>>>> I want to use a GCV with User App URL, Username, Named Password,
>>>>> etc in
>>>>> the Integration activity, since I need to have at least three PRD's
>>>>> (Create Role, Modify Role, Remove Role) and I have to stage them
>>>>> through
>>>>> lab, dev, qa, prod. I do NOT want to have to go change 3 fields in
>>>>> each
>>>>> PRD per environment. What a PITA!
>>>>>
>>>>> I figured I would just use a GCV, now that GCV's are available in
>>>>> UA 4.
>>>>>
>>>>> But no GCV selector in the ECMA editor.
>>>>>
>>>>> Does that mean it is not supported, or does it mean that the UI is
>>>>> missing it? Anyone know?
>>>>
>>>> So I pasted in GCV("gcv.name") from elsewhere where the editor provided
>>>> it, and you get a GCV not defined.
>>>>
>>>> Ok, so bug then...
>>>
>>> Because section 9.1.6 in the Design docs says:
>>>
>>> "These GCVs are available to you in all activities on the workflow and
>>> not on the forms."
>>>
>>> And the full quote is:
>>>
>>> "9.1.6 About Global Configuration Values Integration
>>>
>>> Global configuration values (GCVs) are settings that are similar to
>>> driver parameters. Global configuration values can be specified for a
>>> driver set as well as an individual driver. If a driver does not have a
>>> GCV, the driver inherits the value for that GCV from the driver set.
>>>
>>> GCVs are integrated with the workflow process through the ECMA
>>> Expression Builder, which provides a bridge to the GCVs from the driver
>>> and the GCV resource objects. To access a GCV through the ECMA
>>> Expression Builder, goto the variables pane and select any GCV from the
>>> GCV list. For GCV resource objects to be available on the variable pane,
>>> ensure that they are linked to the User Application driver. These GCVs
>>> are available to you in all activities on the workflow and not on the
>>> forms.
>>> "
>>>
>>> So this is missing functionality since Integration Activities is a
>>> workflow activity. And I just want them to specify the URL and user name
>>> for the target of the IA.
>>>
>>>
>>>
>>>

>> Greetings,
>> Make sure you are on the latest Patch, because there was a bug about
>> GCVs not be accessible. Also, depending upon where you defined the GCV
>> you will either need to do a full stop/start of nds or just the User App
>> Driver.

>
> I just tested in Designer itself, hitting the Run button in Designer
> Composer snippet.
>

Greetings Geoffrey,
The IA is not not like any other activity. Instead of entering the
simple gcv.get for the username and/or password you have to utilize a
function that declares and instantiates the GCVScript object and then
executes the the gcv's get or getString method

--
Sincerely,
Steven Williams
Lead Software Engineer
NetIQ
0 Likes
Knowledge Partner
Knowledge Partner

Re: GCV's in UA-4.01 in INtegration Activity

On 12/17/2011 10:36 PM, Steven Williams wrote:
> On 12/17/2011 05:34 PM, Geoffrey Carman wrote:
>> On 12/16/2011 9:23 PM, Steven Williams wrote:
>>> On 12/16/2011 02:04 PM, Geoffrey Carman wrote:
>>>> On 12/16/2011 1:45 PM, Geoffrey Carman wrote:
>>>>> On 12/16/2011 1:40 PM, Geoffrey Carman wrote:
>>>>>> I want to use a GCV with User App URL, Username, Named Password,
>>>>>> etc in
>>>>>> the Integration activity, since I need to have at least three PRD's
>>>>>> (Create Role, Modify Role, Remove Role) and I have to stage them
>>>>>> through
>>>>>> lab, dev, qa, prod. I do NOT want to have to go change 3 fields in
>>>>>> each
>>>>>> PRD per environment. What a PITA!
>>>>>>
>>>>>> I figured I would just use a GCV, now that GCV's are available in
>>>>>> UA 4.
>>>>>>
>>>>>> But no GCV selector in the ECMA editor.
>>>>>>
>>>>>> Does that mean it is not supported, or does it mean that the UI is
>>>>>> missing it? Anyone know?
>>>>>
>>>>> So I pasted in GCV("gcv.name") from elsewhere where the editor
>>>>> provided
>>>>> it, and you get a GCV not defined.
>>>>>
>>>>> Ok, so bug then...
>>>>
>>>> Because section 9.1.6 in the Design docs says:
>>>>
>>>> "These GCVs are available to you in all activities on the workflow and
>>>> not on the forms."
>>>>
>>>> And the full quote is:
>>>>
>>>> "9.1.6 About Global Configuration Values Integration
>>>>
>>>> Global configuration values (GCVs) are settings that are similar to
>>>> driver parameters. Global configuration values can be specified for a
>>>> driver set as well as an individual driver. If a driver does not have a
>>>> GCV, the driver inherits the value for that GCV from the driver set.
>>>>
>>>> GCVs are integrated with the workflow process through the ECMA
>>>> Expression Builder, which provides a bridge to the GCVs from the driver
>>>> and the GCV resource objects. To access a GCV through the ECMA
>>>> Expression Builder, goto the variables pane and select any GCV from the
>>>> GCV list. For GCV resource objects to be available on the variable
>>>> pane,
>>>> ensure that they are linked to the User Application driver. These GCVs
>>>> are available to you in all activities on the workflow and not on the
>>>> forms.
>>>> "
>>>>
>>>> So this is missing functionality since Integration Activities is a
>>>> workflow activity. And I just want them to specify the URL and user
>>>> name
>>>> for the target of the IA.
>>>>
>>>>
>>>>
>>>>
>>> Greetings,
>>> Make sure you are on the latest Patch, because there was a bug about
>>> GCVs not be accessible. Also, depending upon where you defined the GCV
>>> you will either need to do a full stop/start of nds or just the User App
>>> Driver.

>>
>> I just tested in Designer itself, hitting the Run button in Designer
>> Composer snippet.
>>

> Greetings Geoffrey,
> The IA is not not like any other activity. Instead of entering the
> simple gcv.get for the username and/or password you have to utilize a
> function that declares and instantiates the GCVScript object and then
> executes the the gcv's get or getString method


Ok, such as? since the docs conspicuously neglect this detail?

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: GCV's in UA-4.01 in INtegration Activity


So the detail still missing here is what is the full java class name for
the GCVScript object or other syntax to access the constructor?

Looking at a trace of a failure I am having right now it exposed
something which leads me to something like:

var GCVScript = new com.novell.soa.af.impl.scripting.GCVScript();

...but without javadoc I don't know if the constructor takes any
parameters. plus I don't -really- know that this is the right object
class.


--
rrawson
------------------------------------------------------------------------
rrawson's Profile: https://forums.netiq.com/member.php?userid=403
View this thread: https://forums.netiq.com/showthread.php?t=818

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.