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

Apply workflow on the AEM Package

Avatar

Avatar
Validate 10
Level 3
umamaheswariy46
Level 3

Likes

11 likes

Total Posts

143 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 3
umamaheswariy46
Level 3

Likes

11 likes

Total Posts

143 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
umamaheswariy46
Level 3

23-07-2018

Hi Team,

Is there any way that we can apply the workflow on the AEM Package for the approvals?

Thanks

Uma

Replies

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,155 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,155 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

24-07-2018

Yes, you can do it with workflows.

you need to create steps/task which will get package/upload and approve install.

similar like curl

PACKAGES:

Upload a new package

        curl -u admin:admin -F package=@"name_of_package.zip" http://localhost:4505/crx/packmgr/service/.json/?cmd=upload

Install an existing package
        curl -u admin:admin -X POST http://localhost:4505/crx/packmgr/service/.json/etc/packages/export/name of package?cmd=install

Upload a package AND install
        curl -u admin:admin -F file=@"name of zip file" -F name="name of package"
        -F force=true -F install=true http://localhost:4505/crx/packmgr/service.jsp

Upload a package DO NOT install
        curl -u admin:admin -F file=@"name of zip file" -F name="name of package"
        -F force=true -F install=false http://localhost:4505/crx/packmgr/service.jsp

Rebuild an existing package in CQ
        curl -u admin:admin -X POST http://localhost:4505:/crx/packmgr/service/.json/etc/packages/name_of_package.zip?cmd=build

Download (the package)
        curl -u admin:admin http://localhost:4505/etc/packages/export/name_of_package.zip > name of local package file

Avatar

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

273 likes

Total Posts

1,502 posts

Correct Reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

273 likes

Total Posts

1,502 posts

Correct Reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
edubey
Level 10

24-07-2018

No, That's not the correct answer.

umamaheswariy46147403​, I am not sure what you are trying to achieve, can you elaborate your use case ?

Avatar

Avatar
Give Back 50
Employee
Kunwar
Employee

Likes

65 likes

Total Posts

253 posts

Correct Reply

72 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
Kunwar
Employee

Likes

65 likes

Total Posts

253 posts

Correct Reply

72 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Kunwar
Employee

24-07-2018

You can create workflow packages from batch processing. See (1)

(1) : Starting Workflows

Avatar

Avatar
Validate 10
Level 3
umamaheswariy46
Level 3

Likes

11 likes

Total Posts

143 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 3
umamaheswariy46
Level 3

Likes

11 likes

Total Posts

143 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
umamaheswariy46
Level 3

12-09-2018

Hi , We have use case where business wants to promote only few pages / few links for the production (few things handled by tech teams) .. request was need to package those changes from UAT and send for the approval .. so business just take a look at the package and approve.. then that package only goes to the production instead of approval first and package it to production. 

its kind of unique use case , approval workflow on package instead of resources.

Note: on each and individual pages and images we are having the approval workflow..

Please let me know if needed more details and please advise.

Thanks

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

13-09-2018

In your use case - what exactly are they approving? 

Avatar

Avatar
Validate 10
Level 3
umamaheswariy46
Level 3

Likes

11 likes

Total Posts

143 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 3
umamaheswariy46
Level 3

Likes

11 likes

Total Posts

143 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
umamaheswariy46
Level 3

13-09-2018

They just wants to verify the files .. and approve the package.  (1 scenario)

Thanks

Uma

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

13-09-2018

That is what I am trying to understand - in this use case -what is the payload of the workflow? Typically a payload is asset, pages, etc, not an AEM Package.

Avatar

Avatar
Validate 10
Level 3
umamaheswariy46
Level 3

Likes

11 likes

Total Posts

143 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 3
umamaheswariy46
Level 3

Likes

11 likes

Total Posts

143 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
umamaheswariy46
Level 3

13-09-2018

Yes , Package pay load with all the links all the time.

Thanks

Uma

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,089 likes

Total Posts

3,123 posts

Correct Reply

1,063 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,089 likes

Total Posts

3,123 posts

Correct Reply

1,063 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

13-09-2018

Technically it's easily possible to start a workflow on a content-package. But I don't know if the UI allows you to do that. Maybe in the old /miscadmin it's working (haven't tested it).

Jörg