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

How to put condtion in livecycle workflow for getting one pdf from list of pdf's

Avatar

Avatar
Validate 1
Level 1
chiranjeevik124
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
chiranjeevik124
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
chiranjeevik124
Level 1

09-06-2017

Hi All,

How to put condition in livecycle workflow for getting one pdf from list of pdf files.

Please help me out , any one know.

Thank you,

Chiranjeevi

Accepted Solutions (1)

Accepted Solutions (1)

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

14-06-2017

Do you know how to write a custom LC step - if not - see:

LiveCycle ES2.5 * Programming with LiveCycle ES2.5

LCStep.png

Answers (5)

Answers (5)

Avatar

Avatar
Validate 1
Level 1
chiranjeevik124
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
chiranjeevik124
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
chiranjeevik124
Level 1

15-06-2017

Hi smacdonald​,

I don't know actually condition to put for getting specified pdf from list of pdf files.

Below flow is the i have tried, but am not sure.required condition using for that.

Please have a look, please give me any inputs on same.

How_to_getting_specfied_pdf _file _from_list_of_pdf_files.PNG

Thank you,

Chiranjeevi

Avatar

Avatar
Validate 1
Level 1
chiranjeevik124
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
chiranjeevik124
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
chiranjeevik124
Level 1

14-06-2017

Hi ,

There is any possibility to create a component in work flow and using Xpath expression related that condition.?

Actually i had refer few blogs some peoples says like use lower-case string of file name(using Xpath expression).then we will get actually file from list.

Please let me know.?

Thank you,

Chiranjeevi.

Avatar

Avatar
Validate 10
Level 5
DarrenBiz
Level 5

Likes

67 likes

Total Posts

205 posts

Correct Reply

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

Avatar
Validate 10
Level 5
DarrenBiz
Level 5

Likes

67 likes

Total Posts

205 posts

Correct Reply

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

13-06-2017

Another way is to use an executeScript activity in a workflow that allows you to run Java logic in a BeanShell script. The actual code will depend on your variables and how your list is set up, but it should be fairly simple to do. If it is more complex or you need to do other custom Java manipulation then a DSC would be the better way to go.

You will likely need these references:

Adobe LiveCycle ES4 * Execute Script

Adobe LiveCycle ES4 * patExecContext reference

Avatar

Avatar
Validate 1
Level 1
chiranjeevik124
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
chiranjeevik124
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
chiranjeevik124
Level 1

10-06-2017

Hi Smacdonald,

Would you please me any sample sinppet.that will helpful for me to write  logic in my workflow as per requirement.

Thank you,

Chiranjeevi

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

09-06-2017

Write a custom DSC and put in Java app logic to determine which PDF to retrieve. A LC DSC is similiar to a AEM Custom Workflow step in that it allows you to use custom business logic.