on 10-24-2011 2:37 PM
We have IDM 7.1 SP3 implemented. It is used to create ids triggered by the RPLDAP_EXTRACT_IDM job that runs periodically in the HCM system. It has been running fine for the past year.
Now we would like to put a condtion on an attribute where we check for its value and in certain exception conditions the job stops and sends an email.
The issue is for every pernr on the first run the 'Write HCM Employee to SAP Master' task runs twice therefore sending the email twice. I am not sure where the setting is to fix this. But this happens on the first time the pernr is run, if I run the pernr again the task executes only once.
Any ideas. Your time is much appreciated.
Thanks
Shabna
Any ideas anyone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmmm you could stick a uSendSMTP function call in the script. I believe the same script is used for each attribute when processing the HCM feed via VDS. My suggestion would be to make a copy of the script and insert your extra code. This would keep the extra code/evaluations from being considered when working on other attributes.
This should help you get the troubleshooting data you are seeking.
Matt,
Thanks for taking the time. I am using a copy of the sap_sendemail for the custom mail and it uses the uSendSMTPMessage function.
I think I figured out why it is happening. THE MX_HCM_EMPLOYEE entry type in the HCM_STAGING_AREA id store had Add and modify task as the "Write HCM Employee to SAP Master". I removed the ADD and left just the Modify and it seems to work for both new and already run pernrs. And only one email is generated. I am going to test with all existing conditions to see if it still works.
I totally agree with your suggestion. I am reading additional attributes from HCM, so made a copy of the orignal pass and all original scripts and using them.
Thanks
Shabna
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.