I wanted to save an instance of Log-SecurityAudit when user switching application.
I tried overriding Code-Security.ApplicationProfileSetup activity as below and it did work if I run the activity from Action -> Run menu of the activity rule form. However, the same activity doesn't work when it is executed as user switching application from the portal context menu.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
To maintain user attributes like Access Group,Workbaskets,Skills,Roles and Work Group for a user,all these attributes are assigned to a session at the time of login.
customizing ApplicationSetUp and ApplicationProfileSetUp would work during the login time.
While the user switches the access group,the other attributes like workbaskets,skills,roles and work group assigned during the login may need to get wiped off and set to new values.Its mostly like re-running the authentication activity again.
RedirectAndRun is the activity that would be called which consider AccessGroup parameter.
Call ApplicationFreeClipboard is the extension activity where we could feed our customization.