Author |
Message
|
smaddy |
Posted: Tue Feb 21, 2006 1:16 pm Post subject: Substitutes question |
|
|
Newbie
Joined: 21 Feb 2006 Posts: 3
|
There are 2 persons A and B in buildtime. I want to make A as absent and B as the substitute of A. Now I upload the fdl file into runtime and it works as expected. i.e. all the work items of A are automatically moved to B's workbasket. But after some days, when A comes and logs into the application, his substitute is getting lost but his absent indicator is still set. why is this happening?
Note: we have suppressed the removal of absent indicator, once he logs in. We wanted that to be manually changed in buildtime and re-import the fdl again. But here, why the substitute is getting lost? Is there any way to suppress that function also?
Thanks in advance |
|
Back to top |
|
 |
kotha |
Posted: Tue Feb 21, 2006 1:29 pm Post subject: |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
Where did you mention substitue info? In my opinion, if you set the substitute info in buildtime rathar than user entering the sustitute info in the client, the substitute wont go. _________________ -------------
Sridhar K
SOA Specialist
Charlotte, NC
-------------- |
|
Back to top |
|
 |
Ratan |
Posted: Tue Feb 21, 2006 2:36 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Looks like the absenceIndicator is being Reset. Are you specifying the option AbsenceIndicator.Leave when you dont want the workitems to be assigned to him? _________________ -Ratan |
|
Back to top |
|
 |
smaddy |
Posted: Tue Feb 21, 2006 3:48 pm Post subject: |
|
|
Newbie
Joined: 21 Feb 2006 Posts: 3
|
we are setting the substitute info in build time only.
even though we set the flag of reset absent indicator in the build time when the user logs in, we are suppressing that value in the java program by not to reset the absent indicator flag. but we are not doing anthing specific to substitutions. so the question is, will the substitute lost, when the user logs in as we are not doing any suppression to keep the substitutes? |
|
Back to top |
|
 |
Ratan |
Posted: Tue Feb 21, 2006 4:27 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
So if you have set the flag in buildtime to Reset and not setting any absenceInticator (absenceIndicator.NotSet) then when the user logs in he will get the workitems and not the substitute.
If I understand you correctly you should not set the 'Reset' flag in buildtime. _________________ -Ratan |
|
Back to top |
|
 |
Ratan |
Posted: Tue Feb 21, 2006 4:28 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
what do you mean by this statement.
Quote: |
will the substitute lost |
_________________ -Ratan |
|
Back to top |
|
 |
smaddy |
Posted: Tue Feb 21, 2006 6:17 pm Post subject: |
|
|
Newbie
Joined: 21 Feb 2006 Posts: 3
|
yes. ur understanding is correct. we should not set the reset flag in buildtime.
but the actual problem is if we set the reset flag in build time unknowingly and when the user logs in to the client, we are still making him as absent through programmatically. but we are not doing anything for the substitutes. but somehow the substitute entry is getting lost.
so since the user is still absent in runtime and there is no substitute for that user in the run time, all the work items, which are supposed to go to that user are going to process administrator, because there is no substitute.
we need to avoid the substitute getting lost in this case, so that the activities will go to substitute. but this is not happening.
i hope you will catch my exact problem |
|
Back to top |
|
 |
jmac |
Posted: Wed Feb 22, 2006 3:25 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
My guess is that your substitiute is being lost on your Buildtime import into runtime.... I serisously doubt that anything you do with the API is going to remove the substititue... If you have good proof of that I would open a PMR if I were you. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Ratan |
Posted: Wed Feb 22, 2006 3:21 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Ok, now I understand - Your Substitute relationship is gone. That is strange. _________________ -Ratan |
|
Back to top |
|
 |
|