cancel
Showing results for 
Search instead for 
Did you mean: 

Navigate from workorder to notification screen set

Former Member
0 Kudos

Hi everyone,

I need to add an hyperlink to the notification number in the standard screen set WorkOrderTileView_Detail. What is the right step for the hyperlink action?

As for now all my tests brought me to another side application and not tho the side screen notification.

Screen:

Test:

Expected Behavior: When I touch notification num I navigate to the Notification A. If a press the back button I return to the first screen that I can see when I login. If I press to the Workorder icon, I navigate back to Workorder A.



Real Behavior: When I touch the notification num, I navigate to the Notification B (side application). If a press the back button I return to Workorder A. If I press to the Workorder icon, I navigate to Workorder B.

When I am saying "navigate to the Notification", I meant select the notification with the same number of the field that I have just touched and show me its detail like this:

<--- Notification Screen

<-- Workorder screen with the hyperlink field "Avviso"

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Giacomo,

Just to clarify, are you trying to edit the notification from the work order view?

Regards,

Yuri Bokaleff

Former Member
0 Kudos

Nope, I need only to show notifications and highlight the one correlated to my workorder as you can see from this screenshot:

Former Member
0 Kudos

Please check the implementation of navigate to operation details screen from operation list screen in order details screen.

sudhiranjan_lenka
Contributor
0 Kudos

Hi,

If you want to display all the notifications on click of the hyper-link then it can be achieved by this.

1.    Create one action with a navigation step, select the object as main object.

2. In the navigation step link your target screen, you can also use the main Notification screen(Main Notification Tab) if you can reuse it.

2. Create a hyper-link and link this action to it, again select the object as main object.

3. If you want to highlight the hyper-linked notification then in the action add one list selection step and select the item by writing a rule(you will have to get the notification number from the selected work order).


Thanks

Sudhir.

Former Member
0 Kudos

Giacomo,

Is there any execution rule in hyperlink execution action? If not please write a execution rule to check workorder>NotifNum == to Notifications collection> NotifNum.

this will display only those notification which are associated with work order.

Former Member
0 Kudos

No, because I want to select the notification associated that is different to filter for the notification associated.

Marçal_Oliveras
Active Contributor
0 Kudos

I'm not sure if I totally understand you, but you may need an action step of the type "List Selection" based in a rule that selects the correct notification.

Former Member
0 Kudos

I want the focus to change so that the screenset NotificationTileListSelected displays the notification associated to my workorder. I am not trying to filter the notifications list.

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

I am not sure I am following what you are looking to do here.  I believe by default there is a hyperlink to display the notification details when you tap on it.  Is that not working or are you looking to change the default behavior?

--Bill

Former Member
0 Kudos

I am looking to change the default behavior. I am trying to show Notification(Collection property of MainObject) instead of Notification (Collection property of Workorder).

Marçal_Oliveras
Active Contributor
0 Kudos

Hi,

I didn't say anything about filtering in my answer.

I still think my solution is what you want to do, navigate to the Notifications (main screen) and select the one that is equal to the one of the work order you are coming from.

To do that you just need an action with 2 steps

1. Navigate step, to show notifications screen

2. List Selection step to select from the notifications list in the left the one that you want to show in the details.

*As a possible step 0, maybe you will need to store the notification ID somewhere in order to use it in the list selection step rule

Former Member
0 Kudos

Former Member

Here what I have already done:

to get the behavior in red in the following pic, probably because "Close the screenset that the user is leaving"  (it is displayed on the 4th screenshot ) do not work :

Former Member
0 Kudos

Giacomo,

Please correct below to your application.

screen set 1- please pass the target as Main Object.

screen set 2 - Please do not set the close screen set action

screen set 6 - EQSTR

                         Notification object -> NotifNum

                         WorkorderTileView -> currentobject -> NotifNum

hope this makes you clear.

Ajitesh

Former Member
0 Kudos

, thank you for answering me.

I tryed your configuration, navigation do not take me to the side application. I have the behavior with the black arrow that I described in my last screen.

Now I have only one problem. This rule do not work for me:    

                   EQSTR

                         Notification object -> NotifNum

                         WorkorderTileView -> currentobject -> NotifNum

So when I navigate in the right screen I have no notification selected.

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Giacomo,

I guess I am still not understanding your scenario.  What is this Side application?  Is it another Agentry application on the device?   Are you looking to have a link in application A launch / navigate to application B and display the notification with the selected number from A?

--Bill

Former Member
0 Kudos

With side application I mean that when I navigate from Workoder to Notification through hyperlink, I have two active instance of MainScreen running on the app instead of one(like the standard) so when I go back with the back button I return in the first instance of MainScreen instead of welcome standard page screenset.

Former Member
0 Kudos

is it all clear now?