29
Views
2
Comments
Performing Popup in some action, not everytime.

Hi Everyone,


In screen Mission Finished=> When click on Next mission=> It will redirect to mission details => If there is no mission then Popup will show and page will redirect to Main menu, 
Other case if there is mission then page will stay in Mission details page only=> No popup. 

2023-04-14_Infanion_WaWa(1).zip
2023-04-18 18-18-30
Murilo Antonio de Souza

Hi Sudha Kumari,

Tried to control actions with input?

Thankyou,
Murilo Antonio.


2023-10-21 19-42-11
Tousif Khan
Champion

Hello

Would you like to display the error in a pop-up or feedback message will work for you,

So you can check the result on the after-fetch event of the aggregate from which you are fetching the mission details, So if the mission exists you will use the end node on a true branch but if the mission doesn't exist you can show the error message and redirect the user back to the list screen.






  • Create a new output parameter as Is empty default value false , as you are not returning data in a list or a structure you have created all output parameters( suggest to create a structure with all the output so that it will be combined in a single Output(structure)
  • Now as you are already checked the empty property by the condition
    GetMissionDetailsByMissionId.OutMissionDetails.Length > 0
  • Now as we have assigned IsEmpty to true now we can check the condition whether it has returned some data or it is empty 
  • Now coming back to the after-fetch event of a data action as we have created an action on it.
  • Now on the action flow, we can check the IsEmpty property.





I hope this will help you

Best Regards
Tousif Khan

WaWa_Updated.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.