+ Start a Discussion
Ventzi IankoulovVentzi Iankoulov 

Screen Flow (aura component action) behaves differently depending on the place from where it is triggered

Hi guys,


please can somebody help to figure out the cause of the below described issue,
We have a screen flow.
On the last screen we offer users an option to be re-directed to the Asset record created in the course of flow execution. The redirection is done via Aura component-based action.


Originally the flow had to be launched from a component on user’s Home Page. If launched from there, the final re-direction to the Asset records works without problems!
Recently there was a requirement to enable the users to launch the flow also from an Object’s list view.
To accommodate this requirement I have implemented a List Button, which launches the flow via Link URL (e.g. {!$Site.BaseUrl}/flow/mdr_new_asset_flow).
Unfortunately, when the flow is launched via the list button the redirection button does not work!


In summary:
The same flow (mdr_new_asset_flow ) with the same redirection action behaves differently depending on place from where it is launched:
• The redirection to the asset works, if the flow is launched from the Home Page;
• The redirection to the asset do NOT function, if the flow is launched from the list button.

Please could you help us to find an explanation of the faced behavioral.
Thank you in advance!
Ventzi

 

ShirishaShirisha (Salesforce Developers) 
Hi Ventzi,

Greetings!

I would suggest you to enable the debug logs for both the flow executions and capture to see if there is any change in inputs which clears on why the behavior is varies.

https://help.salesforce.com/apex/HTViewHelpDoc?id=code_add_users_debug_log.htm&language=en_us

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri