Problem in rule generator adapter
Hi *,
Here i've got one problem while creating rule generator adapter to validate my customized field, the class referred by the adapter is simple, which requires a minimum length of the field is 6, however, I have no idea about how to tell Xellerate whether the validation is success or not, going through the OIM documents without luck,should i return some specific value that Xellerate understands or throw some kind of exception? please help me!
Thanks,
R.
Thurm
Hi gaurav,
It was a good response from your side.
I have gone through the FAQ but could not able to find anything.
Can you please help me out in this regard ?
Also i am using select query of this kind,
SELECT
SEFVHRC.VHRBRCD,SEFVHRC.VHRCUCD,SEFVHRC.VHRVIN,SEFVHRC.VHRMOCD,SEFVHRC.VHRCHAS,
SEFVHRC.VHRSLOR,SEFVHRC.VHRDIVI,SEFVHRC.VHRMGCD,SEFVHRC.VHRMOCH,SEFVHRC.VHRVHTY,
SEFVHRC.VHRBDTY,SEFVHRC.VHRMFYR,SEFVHRC.VHRMOYR,SEFVHRC.VHRMODS,
SEFVHRC.VHRMDTL,SEFVHRC.VHRCLBR,SEFVHRC.VHRRCID,SEFVHRC.VHRARDT,
SEFVHRC.VHRLUTM,SEFVHRC.VHRLUDT,SEFVHRC.VHRKEYN,SEFVHRC.VHRCTORN,
SEFVHRC.VHRCTIMP,SEFVHRC.VHRPRDT,SEFVHRC.VHRPRDT,SEFVHRC.VHRRCDT,
SEFVHFT.VHFCLCD,SEFVHFT.VHFCAT,SEFVHFT.VHFCADSC,SEFVHFT.VHFKEY,SEFVHFT.VHFTEXT1,
SEFVHFT.VHFTEXT2,SEFVHFT.VHFTEXT3,SEFVHFT.VHFTEXT4
FROM
SAPTESTLIB.SEFVHRC,SAPTESTLIB.SEFVHFT
WHERE
SEFVHRC.VHRVIN = SEFVHFT.VHFVIN AND SEFVHRC.VHRSTTS = ' '
and update query of this kind,
Update SEFVHRC SET VHRSTTS = 'R' WHERE VHRSTTS = ' '
I am using prity big select query. is there any option to optimize it?
Can you please help me out in solving this problem
urs,
Soorya
Similar Messages
-
Rule-Generator Adapter is not being triggered
I have created a rule-generator adapter and assigned it to pre-insert and pre-update of a process form (mapped the return value to process form field) but the system does not trigger the adapter when I add the resource to user. Any ideas why this happens?
Regards,
KostasI tried with an entity adapter but the effect is the same (restarted the server). It looks like the system does trigger the pre-insert and pre-update events. Any ideas?
-
Populating a field using rule generator adapter
Hi
How a form field is populated using Rule Generator Adapter. And what we should do if we want the same field do not appear in the form, though it's value should be participate in task(create user update user etc).
Thanks
KanchanCheck these links
http://download.oracle.com/docs/cd/E10391_01/doc.910/e10366/rules.htm
Prepopulate Adapter and Rule Generator Adapter -
Prepopulate Adapter and Rule Generator Adapter
Can anyone tell me the exact difference between Prepopulate adapter and Rule generator adapter? I have read the documentation but both seems to be same.
Please explain me with an example scenario..
Regards
PavanHi,
See if this help you in gaining more understanding.
PrePopulate Adapter: They are mapped with the fields of process form and are used to prepopulate the fields value during the resource provisioning.
RG Adapter: A RG Adapter incoporates business rules to the fields of either OIM user form or user defined form so that these fields can be automatically populated
and saved to the database. You can use the RG & Entity Adapter to construct the userid from the firstname and lastname fields and prepopulate it.
Difference:
While both these adapter can be used to prepopulate values but RG Adapter has one to one mapping with the RG adapter and custom field. An RG Adapter once
attached to a field cannot be attached with another field thus preventing adapter reuse. Beside this, no other type of adapter can be associated with that custom
field.In contrast, the PrePopulate adapter can be reused and attached with multiple fields.
Hope this will help you.
Regards
Sunny Ajmera -
hi,
Please explain me whats the use of rule generator adapter where entity adapter and prepopulate adapter does all the functions of a rule generator.
i have gone through the docs but it doesnt explain the difference.
Thanks in advance,
Cat's PawYou are correct in stating the functionality of the oim adapter types is overlapping. The documentation describes the recommended classification types of the adapters while you can achieve the same functionality by creating some other adapter type in similar fashion.
I would suggest you to use the recommended approach as mentioned in the documentation. -
Problem with rules after migration
After migration of some mailboxes from Exchange 2007 to 2010 we have a problem managing rules. When trying to create or look at rules from OWA we get an Mapi error (See below). Also, When checking the problem user rules from Exchange Management
Console "get-inboxrule -mailbox <User>", it fails with a Doctor Watson error (also below) Witch is similar to the one from OWA.
Any help would be much appreciated.
Mapi Error:
MapiExceptionNotFound: Unable to query table rows. (hr=0x8004010f, ec=-2147221233) Diagnostic context: Lid: 55847 EMSMDBPOOL.EcPoolSessionDoRpc called [length=104] Lid: 43559 EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=1366][latency=15] Lid: 23226 --- ROP Parse Start --- Lid: 27962 ROP: ropGetRulesTable [63] Lid: 27962 ROP: ropSetColumns [18] Lid: 27962 ROP: ropQueryRows [21] Lid: 31418 --- ROP Parse Done --- Lid: 55847 EMSMDBPOOL.EcPoolSessionDoRpc called [length=53] Lid: 43559 EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=168][latency=0] Lid: 23226 --- ROP Parse Start --- Lid: 27962 ROP: ropLtidFromId [67] Lid: 17082 ROP Error: 0x8004010F Lid: 17505 Lid: 21921 StoreEc: 0x8004010F Lid: 27962 ROP: ropExtendedError [250] Lid: 1494 ---- Remote Context Beg ---- Lid: 26426 ROP: ropLtidFromId [67] Lid: 43747 dwParam: 0x5 Lid: 55653 StoreEc: 0x8004010F Lid: 1750 ---- Remote Context End ---- Lid: 26849 Lid: 21817 ROP Failure: 0x8004010F Lid: 30894 Lid: 24750 StoreEc: 0x8004010F Lid: 29358 Lid: 27950 StoreEc: 0x8004010F Lid: 32190 Lid: 21950 StoreEc: 0x8004010F Lid: 27070 Lid: 22974 StoreEc: 0x8004010F Lid: 18686 Lid: 1136 StoreEc: 0x8004010F Lid: 24318 Lid: 32510 StoreEc: 0x8004010F
Doctor Watson:
WARNING: An unexpected error has occurred and a Watson dump is being generated: MapiExceptionNotFound: Unable to query
table rows. (hr=0x8004010f, ec=-2147221233)
Diagnostic context:
Lid: 55847 EMSMDBPOOL.EcPoolSessionDoRpc called [length=104]
Lid: 43559 EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=1366][latency=15]
Lid: 23226 --- ROP Parse Start ---
Lid: 27962 ROP: ropGetRulesTable [63]
Lid: 27962 ROP: ropSetColumns [18]
Lid: 27962 ROP: ropQueryRows [21]
Lid: 31418 --- ROP Parse Done ---
Lid: 55847 EMSMDBPOOL.EcPoolSessionDoRpc called [length=53]
Lid: 43559 EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=168][latency=0]
Lid: 23226 --- ROP Parse Start ---
Lid: 27962 ROP: ropLtidFromId [67]
Lid: 17082 ROP Error: 0x8004010F
Lid: 17505
Lid: 21921 StoreEc: 0x8004010F
Lid: 27962 ROP: ropExtendedError [250]
Lid: 1494 ---- Remote Context Beg ----
Lid: 26426 ROP: ropLtidFromId [67]
Lid: 43747 dwParam: 0x5
Lid: 55653 StoreEc: 0x8004010F
Lid: 1750 ---- Remote Context End ----
Lid: 26849
Lid: 21817 ROP Failure: 0x8004010F
Lid: 30894
Lid: 24750 StoreEc: 0x8004010F
Lid: 29358
Lid: 27950 StoreEc: 0x8004010F
Lid: 32190
Lid: 21950 StoreEc: 0x8004010F
Lid: 27070
Lid: 22974 StoreEc: 0x8004010F
Lid: 18686
Lid: 1136 StoreEc: 0x8004010F
Lid: 24318
Lid: 32510 StoreEc: 0x8004010F
MapiExceptionNotFound: Unable to query table rows. (hr=0x8004010f, ec=-2147221233)
Diagnostic context:
Lid: 55847 EMSMDBPOOL.EcPoolSessionDoRpc called [length=104]
Lid: 43559 EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=1366][latency=15]
Lid: 23226 --- ROP Parse Start ---
Lid: 27962 ROP: ropGetRulesTable [63]
Lid: 27962 ROP: ropSetColumns [18]
Lid: 27962 ROP: ropQueryRows [21]
Lid: 31418 --- ROP Parse Done ---
Lid: 55847 EMSMDBPOOL.EcPoolSessionDoRpc called [length=53]
Lid: 43559 EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=168][latency=0]
Lid: 23226 --- ROP Parse Start ---
Lid: 27962 ROP: ropLtidFromId [67]
Lid: 17082 ROP Error: 0x8004010F
Lid: 17505
Lid: 21921 StoreEc: 0x8004010F
Lid: 27962 ROP: ropExtendedError [250]
Lid: 1494 ---- Remote Context Beg ----
Lid: 26426 ROP: ropLtidFromId [67]
Lid: 43747 dwParam: 0x5
Lid: 55653 StoreEc: 0x8004010F
Lid: 1750 ---- Remote Context End ----
Lid: 26849
Lid: 21817 ROP Failure: 0x8004010F
Lid: 30894
Lid: 24750 StoreEc: 0x8004010F
Lid: 29358
Lid: 27950 StoreEc: 0x8004010F
Lid: 32190
Lid: 21950 StoreEc: 0x8004010F
Lid: 27070
Lid: 22974 StoreEc: 0x8004010F
Lid: 18686
Lid: 1136 StoreEc: 0x8004010F
Lid: 24318
Lid: 32510 StoreEc: 0x8004010F
+ CategoryInfo : NotSpecified: (:) [Get-InboxRule], MapiExceptionNotFound
+ FullyQualifiedErrorId : Microsoft.Mapi.MapiExceptionNotFound,Microsoft.Exchange.Management.RecipientTasks.GetInb
oxRule
-FireLiteHi,FireLite,
What kind of the migration?
If it was cross forest or involved PST files then rules rarely come across correctly and should be recreated.
If it was simply install Exchange 2010 and use move mailbox, then rules should have moved with the mailbox.And please provide more information like below:
1)Does this rule problem happen to all moved mailboxes or just part of them?
2)Would you please verify that you have successfully moved these problem mailbox?
3)Can you manage the rule in outlook for them?Have you tried to create a new rule to see if it works for these mailbox in OWA or Outlook?
Please try to move the mailbox back to Exchange 2007,then move it to another mailstore,after that migrate it again to Exchange 2010 to see if it works.
And here are some resolved cases with similar error for your reference.
http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/3c795b8f-0b60-4346-b8f1-eb8c4f9c9cb0
http://social.technet.microsoft.com/Forums/en/exchangesvradminlegacy/thread/3cf2360f-0a4c-4c7e-87c9-6726e3dc34fd
Regards,
Sharon
Sharon Shen
TechNet Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. -
Select query problem in JDBC sender adapter
Hello Experts,
We have a problem with PI sender adapter that PI has started to miss records in database some database records are missing and we are using the below selet query :
SELECT * FROM [database name].[dbo].[Material_Movement] WHERE [Process_Order_Number] = (Select TOP 1 [Process_Order_Number] FROM [database name].[dbo].[Material_Movement] WHERE ([PI_Read_Date] IS NULL AND [Movement_Type] = (SELECT TOP 1 [Movement_Type] FROM [database name].[dbo].[Material_Movement] WHERE [Transaction_Code] = 'xyz' AND [PI_Read_Date] IS NULL ORDER BY Created_Date ASC))) AND [Transaction_Code] = 'xyz' AND [Movement_Type] = (SELECT TOP 1 [Movement_Type] FROM [database name].[dbo].[Material_Movement] WHERE [Transaction_Code] = 'xyz' AND [PI_Read_Date] IS NULL ORDER BY Created_Date ASC) AND [PI_Read_Date] IS NULL ORDER BY [Transaction_ID] ASC
I am weak in select query could you please check and suggest how the query can be modified to avoid this issue .
Thanks,
SomenathHi ,
After looking into These Query .. I found ...
Your Query Will run such Kind of scenario ..
1.) Movement Type will be fetched from from below Query
SELECT TOP 1 Movement_Type
FROM database name.dbo.Material_Movement
WHERE Transaction_Code = 'xyz'
AND PI_Read_Date IS NULL
ORDER BY Created_Date ASC
2.) on the basis of abovr fetched moment code . your Query will fetch 1 Process Order number
Select TOP 1 Process_Order_Number
FROM database name.dbo.Material_Movement
WHERE ( PI_Read_Date IS NULL
AND Movement_Type = Moment Type will be same as 1.
3.)
After Getting 1 and 2 . Query will fetch Data from table " dbo.Material_Movement "
On the basis of ..
Movement_Type = value from 1.
Process_order_type = value from 2.
Transaction_Code = 'xyz'
ORDER BY Transaction_ID ASC
So check Missed record Fullfill this Condition or not ....................
If not ... You will get why they are not picked by your given Query ...........
Hope it helps ..
regards
Prabhat Sharma. -
Problem in sender JDBC adapter
hello,
I am facing one typical problem in sender JDBC adapter.
Here is the issue,
JDBC API method getString threw an exception: java.sql.SQLException: Cursor state not valid.
Can anyone please help me out in solving this problem?
Actually after a retry of 3 times the message has been successfully sent. Till then i am getting these error
On 1st attempt ,
Error during conversion of query result to XML java.sql.SQLException: Cursor state not valid
On 2nd attempt,
Error during conversion of query result to XML java.sql.SQLException: Internal driver error
(class.java.lang.InterruptedException)
On 3rd attempt,
Processing finished successfully.
This is the scenario that i can see in the audit log.
Can you please help me out in solving this issue.
Thanks,
SooryaHi gaurav,
It was a good response from your side.
I have gone through the FAQ but could not able to find anything.
Can you please help me out in this regard ?
Also i am using select query of this kind,
SELECT
SEFVHRC.VHRBRCD,SEFVHRC.VHRCUCD,SEFVHRC.VHRVIN,SEFVHRC.VHRMOCD,SEFVHRC.VHRCHAS,
SEFVHRC.VHRSLOR,SEFVHRC.VHRDIVI,SEFVHRC.VHRMGCD,SEFVHRC.VHRMOCH,SEFVHRC.VHRVHTY,
SEFVHRC.VHRBDTY,SEFVHRC.VHRMFYR,SEFVHRC.VHRMOYR,SEFVHRC.VHRMODS,
SEFVHRC.VHRMDTL,SEFVHRC.VHRCLBR,SEFVHRC.VHRRCID,SEFVHRC.VHRARDT,
SEFVHRC.VHRLUTM,SEFVHRC.VHRLUDT,SEFVHRC.VHRKEYN,SEFVHRC.VHRCTORN,
SEFVHRC.VHRCTIMP,SEFVHRC.VHRPRDT,SEFVHRC.VHRPRDT,SEFVHRC.VHRRCDT,
SEFVHFT.VHFCLCD,SEFVHFT.VHFCAT,SEFVHFT.VHFCADSC,SEFVHFT.VHFKEY,SEFVHFT.VHFTEXT1,
SEFVHFT.VHFTEXT2,SEFVHFT.VHFTEXT3,SEFVHFT.VHFTEXT4
FROM
SAPTESTLIB.SEFVHRC,SAPTESTLIB.SEFVHFT
WHERE
SEFVHRC.VHRVIN = SEFVHFT.VHFVIN AND SEFVHRC.VHRSTTS = ' '
and update query of this kind,
Update SEFVHRC SET VHRSTTS = 'R' WHERE VHRSTTS = ' '
I am using prity big select query. is there any option to optimize it?
Can you please help me out in solving this problem
urs,
Soorya -
Thinkpad keyboard problem - some keys generate multiple keys when pressed
thinkpad keyboard problem - some keys generate multiple keys when pressed
For example, "t" generates "tr", "y" generates "yu", "backspace" generates "backspace" plus "IBM access connections", "m" generates "mn" and "n" generates "mn". Not all keys are wrong.
For what it's worth, the odd behaviour started shortly after a trip to Miami in which I had a meeting at a cafe in which we were undercover but it was pouring cats and dogs - it was like having a meeting in a sauna - so I am wondering if the high humidity could have caused the behaviour.
I tried replacing the keyboard but the new keyboard has the same problem.
The machine in question is a Thinkpad T23 running Windows XP Pro
Any help would be appreciated as I am now in Los Angeles using a borrowed Mac! :-)i have something along the lines of the same problem.
http://bbs.archlinux.org/viewtopic.php?id=56777
my conclusion is something in the last system update screwed it up. -
Qyery problem in query generator
Hi friends,
I have one problem regarding query generator.
I want to take the field value from the active form for query generator. I got in the demo that u have to use $[table.field]. But still I got the error.
Query which I tried.
SELECT 'TRUE' FROM OCRD T0 WHERE $[OCRD.CardCode] = '[%0]'
any one who take the value from active form as a parameter and pass to the query in the query generator please send my the sample query.
Thanks in advance.hi,
Thanks for your reply.
When I try to execute the first query from the query generator I got the error.
Error :-
Incorrect syntax near $4.0.0
statement 'Received Alerts' could not be prepared.
When I try to execute the second query from the query generator I got the error.
Error :-
Incorrect syntax near 'Ocrd.cardcode'
Statement 'Search function (CSHS)' could not bne prepared.
What would be the reason.
Please help me in solving this problem. -
Problem in dynamically generating the file upload field
Hello all
I am using netbeans 5.5 and visualwebpack for my jsf project.
i have a problem in dynamically generating the file upload field and using it.
I have a panel say "panelA" which holds file upload fields.
Depending upon the count value i generate the file upload field using following code snippet:
Upload upload1 = new Upload();
upload1.setId("upload1");
getPanelA.getChildren().add(upload1);
The page successfully shows up the file upload fields. While the user clicks the submit button, i have used following logic to perform upload:
List components = getPanelA().getChildren();
for(int i = 0; i<components.size(); i++){
if(components.get(i) instanceof Upload){
UploadedFile uploadedFile = ((Upload)components.get(i)).getUploadedFile();
I am getting this UploadedFile object null.
How can i solve this problem.Anyway,
I solved the problem.
Actually i was using label property of the upload field due to which i got null pointer exception.
I removed the label property of the upload field and things worked as i wanted. -
New Context for 'Problems' in Rule modeler not working
Hi,
I am using the Rule modeler to determine the Service team based on selected Categorization schema for Incidents - it's working fine. Now I want to implement the same for Problems
I created a new Z Context (Master Request) to create a rule policy for Problems -> assigned rule policy to a ZServ.Mgr.Profile Unfortunately the rule policy is not working for problems. The new ZContext was copied from existing SERVICEREQUEST context which also copied all the services within.
Am I missing something ? Please help.
BR.
P.S incidents have an action definition with method DISPATCH that determines service team - same has been assigned to Problems.Had to use 2 Dispatch methods to determine the service team.
-
Problem with JCA compliant adapter in XI
Hi
I have problem with JCA compliant adapter in XI (SP15).
Adapter works in PCK but doesn't work in XI (periodically).
Sometimes messages delivered with successful status but
very often after send message i have following message in
Message Display Tool (Detail Display):
Engine All
Status System Error
Repeatable Yes
Cancelable Yes
Start 29.03.2006 17:26:57
End 29.03.2006 17:26:57
Quality of Service Exactly Once
Error Category XICACHE
Error Code COMMUNICATIONIncrease the trace level of AFW components to "info" with the Log Configurator J2EE service using VisualAdmin.
When the error happens again, crawl into the most recent DefaultTrace, either by opening the file or by using the more confortable NetWeaver Administrator log viewer (defaulttrace), reachable via browser at http://xiboxhostname:5<sysnr>00/nwa
Good luck.
Alex -
Rule-generated messages on GWIA - Allow replies
Last year on Friday before the week of July 4, we had a user create a vacation rule and she checked "Reply to External Users." She had listed her work email at her apartment complex. Right after she left work that day, her apartment complex emailed her saying the office would be closed for the week of the 4th. Her rule replied that she was on vacation, the apartment complex replied the office would be closed... and you get the picture. When she got back, she had received 80,000 emails and had sent 80,000 emails. We turned off "Allow replies" on Rule-generate message but now some would like it turned back on. Is there a way to prevent a loop such as this? If so - how? Thanks! Susan
* susan1525,
not really. If you allow replies to the internet and a user creates a silly rule including "subject contains *", this may happen again. If the rule doesn't contain that statement, the reply rule should fire only once per sender until disabled and enabled again.
I allow rule generated messages to the internet to very few users for that reason.
Uwe
Novell Knowledge Partner (NKP)
Please don't send me support related e-mail unless I ask you to do so. -
Prevent rule-generated messages to certain host
Hi,
maybe someone has an good idea for our challenge.
We want to suppress the rule-generated messages from GroupWise but not depending on who sends it, but on who receives it.
Why?
Because we are on the way to enable Vibe Email reception but we don't want the vacation messages to be sent to Vibe (different internal domain, so the mails will pass GWIA and there be routed via route.cfg to the vibe server).
All thought / ideas are appreciated.
Thanks
MathiasHi Mathias,
Gosh - using Class of Service never even occurred to me! Pity that it's not flexible enough for your needs
Indeed, enhancement request time: http://www.novell.com/rms
Cheers,
Maybe you are looking for
-
Restricting a price change when converting a PR into a PO
We have configured our system to copy the purchase requisition price into the purchase order when creating a PO with reference to a PR. Now we'd like to restrict the user from changing the price to an amount greater than the PR dollar amount. If th
-
My Recently Added is now sorted by Alphabetical not Date added
Hi there, So i just plugged my iphone in to update my music and i went to click recently added to listen to some but for some reason it was sorted in alphabetical rather than date added, i really need the function of date added to i can get all the n
-
Icloudsetup.exe downloads, but install say it is the wrong version
I downloaded icloudsetup.exe, but when I try to install it, it says it is the wrong version for my computer. It downloads a version for Vista or XP, but I am running itunes on a 64 bit version Windows Server 2008 R2 server. How do I get the right (i.
-
As many of you probably experience when the iPhone is transmitting information i get a digital distortion on any speaker that is in the same room. However, i've also had the problem that when i hear that distortion and the phone is transmitting data
-
I can't run the new iTunes, and I can't download the old one.
This morning, I opened up iTunes to check what's new. It asked if I want to update to a new version or something, so I said yes. It automaticailly downloaded (all I had to do was agree to an agreement). But when I open iTunes (the little music note i