Configuring Maximo Anywhere


Defining work list queries



Download 1.16 Mb.
View original pdf
Page15/73
Date16.12.2020
Size1.16 Mb.
#54492
1   ...   11   12   13   14   15   16   17   18   ...   73
pdf si mpl configure
Defining work list queries
The work list queries that you define fora mobile app determine which records can be retrieved from the server by mobile users. You create custom queries in
Maximo Asset Management. You implement these queries in the mobile app by updating the application definition and deploying anew application version. You can also implement these queries by using the Anywhere Administration application if it is enabled.
Creating queries in Maximo Asset Management
When you create queries in Maximo Asset Management, you specify search criteria that suit the requirements of the target user groups in Maximo Anywhere.
About this task
You create work list queries in the Maximo application that authorizes access to the primary resource for the mobile app. The authorizing application must be registered with the object structure for the primary resource. For example, the primary resource in the Maximo Anywhere Work Execution app is the work order.
In Maximo Asset Management, the Work Order Tracking application is registered
8
Configuring Maximo Anywhere

as the authorizing application for the oslcwodetail object structure and work order resource. Therefore, you create queries for the Work Execution app in the Work
Order Tracking application.
The queries that you create in the Maximo application must be saved and marked public. Public queries are automatically added to the service provider that manages the associated resource data. These queries are implemented and used by consumers such as mobile applications to retrieve data from the provider application.
The search criteria that you define fora query determine the search results that are returned during run time. The actual result set for individual users can be different depending on their access rights in Maximo Asset Management. For example, a user belongs to a security group that is authorized to see work orders for the Site
A, but not Site B. When this user runs a query in the app to retrieve all work orders in the preventive maintenance backlog, work orders for Site Abut not for
Site Bare downloaded to the device.
The search criteria can include constants that are resolved dynamically when the query is executed in Maximo Asset Management. The result set is filtered by the value that is returned for the resolved constant. For example, the default query,
WORKIOWN, for the Work Execution app includes a constant, USER. When the query is executed, this constant is resolved to return all work orders that are owned by the current user.
Procedure
1.
In Maximo Asset Management, open the application that authorizes access to the primary resource for the mobile application.
2.
On the List tab, click Advanced Search, use one of the available options to specify the search criteria, and click Find. Verify that the query returns the expected search results.
3.
Click Save Query and specify a name that uniquely identifies the query. The query name cannot include any spaces.
4.
Select Public.
5.
Click OK.
What to do next
Use the query name that you specified in Maximo Asset Management to add the query to the application definition for the mobile application.

Download 1.16 Mb.

Share with your friends:
1   ...   11   12   13   14   15   16   17   18   ...   73




The database is protected by copyright ©ininet.org 2024
send message

    Main page