What Maycon is referring to is the inability to use OSIN (https://ibm-maximo-dev.github.io/maximo-autoscript-documentation/integration/osevents) automation scripts on status changes. This is because we're utilizing webmethods in most of the applications today. In 9.0 we enhanced the MIF to support backdating status dates and transitioned one of the inventory applications (Issues & Transfers) to utilizing this method of changing the status. I'd like to see us move the other apps as well but no commitment on those yet.
There are a few times in mobile we change the interactive flag, including on status changes. You'll see this in the ChangeStatusController in the changeStatus event

If there are integration scenarios that you do not want this error thrown, then you have two options.
1) You can check if it's coming from the REST API which would work for the web & mobile versions of our applications. The downside is if your integration also sends via the REST API, you would not be able to distinguish. You can do that with something like:
if IntegrationContext.getCurrentContext() and IntegrationContext.getCurrentContext().isAPICall():
2) You can check the mobile context. This will evaluate properly with any of the native applications and be mobile specific. However, in the web scenario, this context would not be set. You can do something like:
if IntegrationContext.getCurrentContext() and IntegrationContext.getCurrentContext().getStringProperty("mobile")=="1":
------------------------------
Steven Shull
------------------------------
Original Message:
Sent: Thu July 11, 2024 08:52 AM
From: Meghana Siriveli
Subject: Maximo Mobile Technician application > Change status action is not getting recognized as User Interactive session in Maximo Base.
We are on Maximo 7.6.1.3 with Mobile 8.10
We have developed an automation script to restrict Workorder status change if there are open tasks on them.
This script works fine in Maximo but not from Technician mobile app.
After some troubleshooting, I've observed that Change Status action from Mobile app is not getting recognized as User Interactive session.
There is user interactive check in the automation script code and from Maximo Mobile this check is getting failed, and the expected Error is not thrown.
If the interactive check is removed, it throws Error.
Any pointers if this is expected behavior or not is very helpful.
Thanks
------------------------------
Meghana
------------------------------