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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Exception while fetching payload paths using ResourceCollectionHelper.getPaths(path, rcCollections)

Avatar

Level 2

I'm trying to fetch active workflows in the instances and their payload but some paths are /var/workflow/packages/generated-package80 so I've used 

 

 ResourceCollectionHelper.getPaths("/var/workflow/packages/generated-package80", rcCollections) 

 

for getting the content and other associated paths in the package, the above method is working as expected and returns path in WorkFlowProcess. But In Scheduler, I've used the same approach for getting actual payload path from '/var/workflow/packages/generated-package80' but it returns an exception like "Cannot build path list out of the resource collection ".

Need some suggestions to resolve this or Can I use Node Iteration approach?

Hopefully someone can give me some suggestions. thanks

 

 

 

1 Reply

Avatar

Community Advisor

Hey @jerinraj5555 

Hope you are doing well!

This space is for Adobe Advertising Cloud (Adobe AdCloud).

Thank you for your cooperation!

Best,

Kishore