Hi,
at our customer, we have multiple workflow-orientated processes, which are addressed via the HR position object (OTYPE S). Now there is a customer report, which generates notifications (something like extended notifications, but handled in a Z* - customer solution). For the notifications purposes, only table SWWUSERWI is read, as we thought, that every workitem should be placed there, once the prerequisities are met:
- position of the actor is occupied by a person (OTYPE P),
- person has an active username (OTYPE US),
- the username is either not blocked, nor is defined it's validity date interval (ending validity date in SU01 is initial).
Well these requirements are met, but the workitem was only found in the SWWORGTASK. Only one workitem with this scenario was found. In normal situations, SWWUSERWI is filled. According to this situation, the notification could not be sent, as it was not found and the customer complaints.
Can anybody explain, in what situation this could happen? Should this be considered as an error of some kind, or should we count with this situation and when sending notifications, go through the SWWORGTASK too to be sure, that every workitem is found?