Can you provide the link that is called when you click on the item in SharePoint?
Is the app called with this link? If yes, is there a parameter passed at the end of the link in the following way:
...?MyParam=xxx
Then you could use this parameter in the App.StartScreen property
If(
!IsBlankOrError(Value(Param("MyParam")),
SecondScreen,
FirstScreen)
)
to navigate to the correct screen.
Otherwise you have to create a link that provides this parameter.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.