I am working on Maximo Attachments but am facing an issue. Please provide your valuable guidance to resolve this issue.
Requirement : In the Maximo PR application, the new PR record should be saved only if at least one attachment is attached, else the record should not be saved and through the error.
Implementation : For this, I have created an automation script on PR Object Launch point before the Save method and the Error message in Database Configuration.
Issue : The script is triggering when I am trying to attach the attachment and through an error message that I have written.
Note : I have changed the Launch point before Save method to the After Save method but still have the same issue, I thought the script would be triggered before saving the PR record, but when I am trying to attach the attachment itself, the PR record is trying to save and the script is triggering and thronging the same error.
It would be greatly helpful if you could correct my mistake and also provide any other alternative way to achieve this requirement.
Let me know if any further information is needed.
Thanks :)The below script is working as expected, but it is not running as expected.
while doclinkMbo and not recordFound:
if doclinkMbo.getString("OWNERTABLE")=="PR" and doclinkMbo.getDouble("OWNERID")==mbo.getDouble("PRID"):
if not recordFound:
Join CommunityInvite ColleaguesLearn MoreGet Started on MORE