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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Assign Task - Prepare Data Service not being called?

Avatar

Level 3

Hi,

I've got an Assign Task activity, with an Action Profile that defines a Prepare Data Service.  For the Prepare data service, I've just created a simple process, and I'm recording it.

When the assign task gets invoked, the Prepare Data Service process is not being executed.  Nothing gets recorded.

Do I need to do something else?

I am running LC ES2 SP2

Note - If I use a Prepare Data Process on a Task Manager start point, it works fine.  It's just not working for an Assign Task activity.

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi

By default, the checkbox to run the Prepare Data on the User service step is turned off.

Navigate to the Presentation & Data tab on the User service.
If you have selected an Action Profile that specifies a Prepare Data process, you'll see 3 checkboxes under the section: Specify when the Prepare Data process runs
Check "The user opens the task" and it will now run the Prepare Data on the User service.

Note: This is unchecked by default so that any data entered on the startpoint step is not overwritten at the user step.
It is up to the process designer to save off any data that you do not want overridden when the Prepare Data loads.


Diana

0 Replies

Avatar

Correct answer by
Level 4

Hi

By default, the checkbox to run the Prepare Data on the User service step is turned off.

Navigate to the Presentation & Data tab on the User service.
If you have selected an Action Profile that specifies a Prepare Data process, you'll see 3 checkboxes under the section: Specify when the Prepare Data process runs
Check "The user opens the task" and it will now run the Prepare Data on the User service.

Note: This is unchecked by default so that any data entered on the startpoint step is not overwritten at the user step.
It is up to the process designer to save off any data that you do not want overridden when the Prepare Data loads.


Diana

Avatar

Level 3

Sorry, yes I see that now.

Thanks .. has answered my question!