Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

patrickp2171254
Community profile patrickp2171254 Level 1
Job title here
Location here
2 BADGES
Level 1

Level 1

Learn more
Joined the community 27-01-2017 2:11:01 PM
Offline
Top badges earned by patrickp2171254
Customize the badges you want to showcase on your profile
Get the owner of an asset folder via ecmascript
Avatar
Validate 1
Level 1
patrickp2171254
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
patrickp2171254
- Adobe Experience Manager Assets
I have a workflow that is launched whenever a new file is uploaded to the dam. Each folder in the dam should either have an assigned owner, or should be able to find an owner by traversing up the directory path. That owner(s) are sent a notification to approve the new file. Since i know the path of the directory, I know i can infer who the owner group is with "mac-default--owner". But this falls apart if multiple folders have the same name, as the duplicate folder would have the owner group "mac...

Views

283

Likes

0

Replies

0
View logs recorded by workflow scripts
Avatar
Validate 1
Level 1
patrickp2171254
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
patrickp2171254
- Adobe Experience Manager
I am just starting in AEM, and I'm trying to set up a workflow with some basic scripting. I have the most simple bit of ecmascript right now to log a variable. My question is, where are the strings that i'm logging going to? Is there a logger that i need to set up in configMgr, or is there an existing logfile? function getParticipant() { log.info("assigning approvers..."); var path = workItem.getWorkflowData().getPayload().toString(); log.info("itemPath: " + path); return workItem.getWorkflow()....

Views

1.2K

Like

1

Replies

2
Likes from