since ‎21-09-2020
‎01-04-2021
AnjaliBiddanda
Level 1
Re: Unable to unlock a page with system user using workflow in AEM 6.5
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
Fixed: I was using session.getWorkspace().getLockManager() where session here was serviceUser session instead of wfSession. i.e. final LockManager lockManager = session.getWorkspace().getLockManager(); Here the session should ofcourse be wfSession.

Views

24

Likes

0

Replies

0
Re: Unlocking a page with system user
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
Fixed: I was using session.getWorkspace().getLockManager() where session here was serviceUser session instead of wfSession. i.e. final LockManager lockManager = session.getWorkspace().getLockManager(); Here the session should ofcourse be wfSession.

Views

32

Likes

0

Replies

0
Re: Unable to unlock a page with system user using workflow in AEM 6.5
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
Hi @nandini559, did you have any luck with this? We have custom 'lock payload' and 'unlock payload' steps in our workflow. But the unlock step fails with "LockException: Not an owner of the lock". I've tried both LockManager API and Page API (LockManager.lock(), Page.lock()). And i've tried both wfSession (wfSession.adaptTo(Session.class)) and a serviceUser session (serviceResolver.adaptTo(Session.class)). And the user has jcr:all on the content path and on /home/groups. @Nupur_Jain i've followe...

Views

31

Likes

0

Replies

0
Re: Unlocking a page with system user
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
HI @lir, we have a custom 'lock payload' and 'unlock payload' steps in our workflow. But the unlock step fails with "LockException: Not an owner of the lock" although i'm using the same serviceUser to lock and unlock the session and this user has jcr:all on the content path and on /home/groups. I've tried both LockManager API and Page API. And i've tried both wfSession (wfSession.adaptTo(Session.class)) and a serviceUser session (serviceResolver.adaptTo(Session.class)).

Views

43

Likes

0

Replies

0
Re: jcr:mixinTypes property
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
This works -> pageContentNode.addMixin("mix:lockable")'.

Views

37

Likes

0

Replies

0
Re: jcr:mixinTypes property
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
Did you try node.addMixin(" mix:lockable")', that should work.

Views

44

Likes

0

Replies

0
OOTB "Lock Payload Process" locks Pages and Assets, but Assets only recognise checkin/checkout
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
The OOTB "Lock Payload Process" and "Unlock Payload Process" workflow steps locks/unlocks pages and assets, but Assets do not recognise Lock/Unlock. This allows assets and Content Fragments to be edited while locked. Assets have a Checkout/Checkin functionality instead. Would you find out for us if Adobe plans to fix this in the near future? In the meantime, we are creating a custom workflow step for "Checkout/Checkin Assets". Thanks.

Views

79

Likes

0

Replies

1
Content Reference fields in a Content Fragment should be updated when references are moved
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
Request for Feature Enhancement (RFE) Summary: Content Reference fields in a Content Fragment should update when references are moved Use-case: When Content Reference fields are used in a Content Fragment model, and populated in the Content Fragment to point to an asset or content, when this asset or content is moved, these Content Reference fields should update like any reference fields. Current/Experienced Behavior: When a content reference field is populated to point to an asset, and if the a...

Views

227

Like

1

Replies

1
Assets HTTP API should contain lastReplicated metadata
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
Request for Feature Enhancement (RFE) Summary: The HTTP Assets API should also capture metadata such as lastReplicated date. Use-case: The HTTP Assets API endpoint will be consumed by channels. (Apps, Salesforce etc). The need for this lastReplicated date is so that channels only retrieve the Content Fragment (CF) if it has changed, if not, the cached version at their end is used. This would be a good feature add to consider. Current/Experienced Behavior: The HTTP Assets API does not contain the...

Views

262

Likes

0

Replies

3
Re: Launcher gets triggered by another workflow
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
Hi guys, my globbing in the Path field in Launcher was incorrect. I was using /content instead of /content(/.*/)jcr:content. I didn't think I needed to have jcr:content in the path as my nodeType was already specified as cq:PageContent. Once I narrowed this to jcr:content and used the excludeList, it worked.

Views

214

Likes

0

Replies

0
Re: Launcher gets triggered by another workflow
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
Thanks @ Santhosh_kumark. I don't want to implement a JCR event listener or a pre-processor if this can be achieved using the exclude list feature.

Views

222

Likes

0

Replies

0
Re: Launcher gets triggered by another workflow
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
Thanks Vanegi. I tried that. I expect that to work since it has event-user-data:changedByWorkflowProcess in the exclude list, but it doesn't. What am I missing? Do I need to set this changedByWorkflowProcess property somewhere?

Views

242

Likes

0

Replies

0
Re: Dynamic Participant Step that can take in a list of u...
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
Thanks @santhosh_kumark. This was one of the posts I'd already referred to and it mentions the need for multiple participants for the ParticipantStepChooser interface. We decided to go with creating a temporary group (mentioned by bsloki) for the duration of the workflow. We opted against creating overlays/overrides, as we want to avoid that as much as possible.

Views

233

Likes

0

Replies

0
Re: Launcher gets triggered by another workflow
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager Forms
Thanks @ Kosta_Prokopiu1. I've raised it there. I don't know how to delete this one though?

Views

338

Likes

0

Replies

0
Launcher gets triggered by another workflow
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
I have a launcher that is triggered on a cq:PageContent node on 'Node modified' and I have set a condition to prevent it from firing if a property exists. However, the OOTB Publish workflow is triggering this launcher.I've used the Exclude List to ignore any changes triggered by another workflow process by adding this:event-user-data:changedByWorkflowProcessThat didn't help. The user data "changedByWorkflowProcess" would already be set by this OOTB publish workflow I'd imagine. I've also tried a...

Views

325

Likes

0

Replies

5
Dynamic Participant Step that can take in a list of users or groups
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager
The OOTB Dynamic participant step takes in a single user or group. It would be great if it can take in a list of users or groups. We have this as a business need. We've tackled it by creating a temporary group for the duration of the workflow that contains the dynamic list of users that will act as reviewers. Once reviewed, the temporary group is deleted. This feels like a workaround. We've tried using a for loop using GoTo which is a no go since the Participant step doesn't auto advance. I've s...

Views

247

Likes

0

Replies

2
Launcher gets triggered by another workflow
Avatar

AnjaliBiddanda

AnjaliBiddanda
- Adobe Experience Manager Forms
I have a launcher that is triggered on a cq:PageContent node on 'Node modified' and I have set a condition to prevent it from firing if a property exists. However, the OOTB Publish workflow is triggering this launcher.I've used the Exclude List to ignore any changes triggered by another workflow process by adding this:event-user-data:changedByWorkflowProcessThat didn't help. The user data "changedByWorkflowProcess" would already be set by this OOTB publish workflow I'd imagine. I've also tried a...

Views

354

Likes

0

Replies

4
Likes from