In Valence 4.1, we are using the standard RPG WRITE and UPDATE opcodes to create and change records. If the file we are changing has a trigger program attached, that trigger program thinks QTMHHTTP is performing the update. Is there anything I can do to get the job to run under the user profile who is changing the record? We have the portal login set up to use IBM i authentication.
Announcement
Collapse
No announcement yet.
PF Trigger Program Thinks QTMHHTTP Added/Updated Record
Collapse
X
-
There is a distinction on the IBM i between the "job user" and the "current user". The job user on Valence will always be QTMHHTTP (the user profile that originally started the job). Valence is actually switching the user profile when you make a call but your trigger program is probably acting on the job user. Check to see in your trigger program if you can see the current user.
Comment