I have workflow that basically checks to see if a user has an application fixed 
license and attempts to convert it to floating via the "CTM:People Permission 
Groups" form.  The following is from the filter log:

Checking ztmpPeopleLoad-152-AddAssetUserFixed`! (152)
--> Passed -- perform actions
0: Set Fields
                Log (536870913) =
                                Asset User Floating License found.  Removing 
License.
                                Problem User Floating License found.  Removing 
License.
                                Incident Master Floating License found.  
Removing License.
                                Adding Asset User Fixed License.
1: Push Fields (note -- this is pushing to CTM:People Permission Groups)
                Permission Group (1000001578) = Asset User
                Permission Group ID (1000001579) = 20019
                Group Type (1000003972) = 1
                Permission Tag Name (1000002340) = BMC:Asset Mgmt
                Person ID (1000000080) = PPL000000027638
                Product Name (240001002) = Configuration/Asset Management
                Remedy Login ID (4) = testuser
                Short Description (8) = x
                Status (7) = 1
                viaTIL License Type (1000002294) = Fixed
                z1D Action (1000000076) = START
                z1D Previous Operation (1000000220) = SET

Ok now here is the fun part it does a lookup of the "User" table:

Checking CTM:PPG:UpdateGroupList_190_Add1 (190)
--> Passed -- perform actions
0: Set Fields
z1D Permission Group List (1000001583) =  
0;0;1000009179;1000005241;1000005244;1000005243;1000005242;1000005240;20025;20032;20000;20213;1000000000;
z1DLicenseList (301770600) =

We are good here.  I then modified the workflow to do an immediate push of the 
z1D Permission Group List and the z1DLicense List to the "Application License" 
field and the "Group List" field.
Checking CTM:PPG:UpdateGroupList_200_Add5`! (200)
  --> Passed -- perform actions
: Push Fields
Application License (122) = BMC:Asset Mgmt User Fixed
Group List (104) = 20019; 
0;0;1000009179;1000005241;1000005244;1000005243;1000005242;1000005240;20025;20032;20000;20213;1000000000;
/* Thu Apr 01 2010 15:47:35.0773 */Start filter processing -- Operation - SET
User - 000000000086196

As you can see 2019 was added at the beginning of the list and that 
"Application License" was modified to say "BMC:Asset Mgmt User Fixed".  I added 
the `! to the end of the workflow to push immediately to the user form and not 
wait till "Phase 2".  Ok now on to the next license:

Checking ztmpPeopleLoad-152-AddIncidentMasterFixed`! (152)
--> Passed -- perform actions
0: Set Fields
                Log (536870913) =
                                Asset User Floating License found.  Removing 
License.
                                Problem User Floating License found.  Removing 
License.
                                Incident Master Floating License found.  
Removing License.
                                Adding Asset User Fixed License.
                                Adding Incident Master Fixed License.
1: Push Fields
                Permission Group (1000001578) = Incident Master
                Permission Group ID (1000001579) = 20004
                Permission Group Type (1000003972) = 1
                Permission Tag Name (1000002340) = BMC:Incident Mgmt
                Person ID (1000000080) = PPL000000027638
                Product Name (240001002) = Incident Mgmt/Service Desk
                Remedy Login ID (4) = jewheat
                Description (8) = x
                Status (7) = 1
                viaTIL License Type (1000002294) = Fixed
                z1D Action (1000000076) = START
                z1D Previous Operation (1000000220) = SET

Checking CTM:PPG:UpdateGroupList_190_Add1 (190)
--> Passed -- perform actions
0: Set Fields
                z1D Permission Group List (1000001583) =  
0;0;1000009179;1000005241;1000005244;1000005243;1000005242;1000005240;20025;20032;20000;20213;1000000000;
                z1DLicenseList (301770600) =

As you can see my "20019" permission and my " BMC:Asset Mgmt User Fixed" got 
lost.  Any ideas on things to try?

Thanks,

Sean



_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

Reply via email to