Access requirements
Expand to view access requirements for the functionality in this article.
You must have the following access to perform the steps in this article:
*For information, see Access requirements in Workfront documentation.
Prerequisites
You must create a report before you can add a prompt to it.
For instructions on creating a report, see Create a report
Create a prompt
-
Go to the report where you want to add a prompt.
-
Expand Report Actions, and then click Edit.
-
Click the Report Settings button.
-
Click the Report Prompts tab, then click Add a Prompt.
-
(Conditional) Select the field that you want the prompt to be based on. Start typing the name of the field, then click to select it when it appears in the list.
The options available to users running the report will differ depending on the field you select.
For example, if you select a date field such as Actual Completion Date on a task report, “Actual Completion Date” is the name of the prompt. When editing this prompt as you are running this report, you can choose from a set of modifiers to build your filtering statement. This process is identical to building a filter. For more information about modifiers, see Filter and condition modifiers. -
(Conditional) Click Custom Prompt to create a custom prompt.
A custom prompt is a predefined prompt where you hard code the filtering criteria before you run the report. In this sense, a custom prompt is closer to a filter than a prompt.
However, the prompt remains as flexible as a regular prompt because you can choose from several predefined statements, as opposed to having just one hard coded filter in the report.
Specify the following information for the custom prompt: The condition of a custom prompt can only be edited using text mode. This allows for multiple conditions to be applied in a single field.
- Field name: This is the name of the prompt, as you see it before you run the report.
- Dropdown Item Label: This is the name of one of the options inside the prompt as you see it before you run the report.
- Condition: Enter a condition that defines the prompt.
- Default: You can select one item to to be the default option for this prompt.
Use the same syntax that you would use when entering a text mode filter, and join your statements by “&”. For more information about editing a filter in text mode, see Edit a filter using text mode.
For example, the Condition field of the custom prompt for the following scenarios could look like this:
-
all tasks on future projects where the project status is Idea, Requested, Planned and Current:
project:plannedStartDate=$$TODAY&project:plannedStartDate_Mod=gte&project:status=IDA,REQ,PLN,CUR&project:status_Mod=in
-
all tasks in completed (past) projects where the project status is Completed or Dead:
project:actualCompletionDate=$$TODAY&project:actualCompletionDate_Mod=lte&project:status=CPL,DED&project:status_Mod=in
For more information about text mode modifiers, see Filter and condition modifiers.
NOTE
You cannot change the conditions of a custom prompt when you run the report, like you would a standard prompt. You can have as many predefined conditions for a custom prompt as you need. -
(Optional) Repeat Step 4 or Step 5 to create as many prompts as needed.
-
Click Done, then click Save+Close to save the report.
Apply a prompt to a report
When you have a prompt added to a report, the default tab of the report is always the Prompts tab.
To run a report with a prompt:
-
Go to the report with the prompt.
-
Choose a condition for one or all the prompts displayed on the Prompts tab.
(Optional) You can leave the prompts blank and not filter the report by the prompt conditions. -
Click Run Report.
(Conditional) If you populated the prompts, the report is filtered by the conditions you have chosen for your prompts.
(Conditional) If you left the prompts blank, the report is not filtered by the prompt conditions. The report displays as if it were not filtered.NOTE
A report that contains a filter in addition to a prompt filters the results according to both the criteria defined in the filter and the prompt combined.
Limitations of sharing prompted reports
The following are limitations in sharing prompted reports from Workfront:
-
When you share a report publicly, users cannot run the report with applied prompts, unless they: have Workfront credentials, log in first, and navigate to the report directly in Workfront (not through the public share link).
For more information about sharing reports, see the article Share a report in Adobe Workfront.
-
When you schedule a prompted report for delivery the report in the email attachment includes the data of the report unprompted. When the user clicks the link in the email to access the report, they must log in first to view the report and run the prompt themselves.
For information about scheduling a delivered report, see Schedule an automatic report delivery.
-
When running a report with a date-based prompt, the report results will be filtered based on your browser’s time zone settings. This can cause slight discrepancies in the date ranges displayed in a prompted report for dates that are at the beginning or end of a month. If your browser’s time zone settings are tied to a specific location, variations in the that location’s local time (such as adherence to daylight saving time) will also be factored into the dates displayed for a prompted report. This can lead to slight date range discrepancies between users in the same time zone but with different location settings.