Question

Logoff from an activity

Dear All

I have a requirement to call the pega standard logoff activity from my activity based on a condition. The standard logoff activity is running fine, but it's not redirecting to login screen. Only on reload of page I see the login screen. Can somebody advice what needs to be done to achieve the functionality

Comments

Keep up to date on this post and subscribe to comments

January 17, 2019 - 12:42pm

You should review OOTB Code-Security.Logoff activity and  customize the HTML Web-Redirect

January 17, 2019 - 12:48pm
Response to ARVINDMALAV

can you please let me know what to change in Wed-Redirect

January 17, 2019 - 12:51pm

Why don't you just customize Logoff activity? It isn't FINAL. Or just use the extension activity called pyLoadSamlSsoLoginInfo

January 17, 2019 - 1:24pm
Response to MarcLasserre_GCS

It's not final. I am not sure where to make the changes.

January 17, 2019 - 2:17pm

Hi Babu,

Please go through the suggestion made in the last comment in this discussion and give a try to implement your requirement. Hope that might help you.

Regards

Mahesh M

January 17, 2019 - 3:01pm
Response to Mahesh Midthuru

I tried that mahesh

It's logging off but not redirecting to login screen

 

January 17, 2019 - 5:05pm
Response to babureddym3696

Hi Babu, 

If you have any chance of creating the logoff functionality on click of button or link, then you can probably look into the use case created by me in attachment. If your requirement is specific to your activity, then may be you can try to remote trace and see what happens during logoff functionality OOTB.

Regards

Mahesh M

January 17, 2019 - 6:07pm
Response to Mahesh Midthuru

Thanks Mahesh

But, logoff functionality is working on button click. Even I have few scenarios where I am using like that. but my requirement is to call the logoff activity from another activity.