Switch module walkthrough
- Topics:
- Workfront Fusion
CREATED FOR:
- Beginner
- User
Understand how to use the Switch module when you need to perform more complex or dynamic data transformations.
Switch module walkthrough
Workfront recommends watching the exercise walkthrough video before trying to recreate the exercise in your own environment.
Transcript
The purpose of this next walkthrough exercise is to introduce you to the switch module. We’re going to use the switch module to evaluate a custom form field on certain projects in your test drive and then change the project name based off of the selection in that field. You’ll want to have a new scenario built for this walkthrough exercise, as well as have your test drive opened up. I went ahead and created a custom filter to only look at projects that have the direct mail project information form attached, as well as a view that shows that custom form as well as the custom form field selection for channel. Having this set up will just make it easier to validate once you run or test your scenario after building it.
Let’s start by creating a new scenario and titling it Using The Switch Module. For our trigger we’ll use the Workfront search records module.
For record type we’ll choose project and we’ll leave the results set and the max number of matching records as the defaults. For the search criteria, we only want to pull in projects where the channel field on the custom form is filled in. I can do that by clicking into the pick list and typing in DE-Channel to find that field.
Once I do, I’m going to change the basic operator from Exist all the way down to the bottom to Not blank meaning we only want to find projects and use them in the scenario if that channel is filled out. Finally, for outputs, I want the ID of the project, the name, the reference number, and that channel custom form field. I’ll find them quickly by using Command or Control+F to search for them.
Go ahead and click OK.
Now let’s quickly rename our module find direct mail projects.
In the next video we’ll add the switch module to change the project names.
Let’s start by clicking the icon at the right of our trigger module to add a new module. For this we’re going to add the switch tool module.
For the input on the switch module, we want to evaluate what’s contained within that channel custom form field on each project. Go ahead and click that to add it to the input field.
We’re then going to create six different cases for the six options that you could choose in the channel dropdown. I’ll go ahead and add the first one as social. For the pattern to recognize in that channel field, I simply want to type out social the same way that it’s written in the custom form field. For the output, we’re going to change this to a three letter acronym for social type projects. We’ll add the reference number, a hyphen, and then the actual project name. So for social, I’ll do S-C-L and then I’ll do a space and select the reference number from the mapping panel, another space with a hyphen, and then I’ll finish with the project name. So essentially what we’re doing with the switch module is we’re evaluating the custom form field. If it’s social for a certain project it’s going to change the project name to S-C-L reference number, name. We’ll update the name in the next module that we’ll create, but for now, let’s add the five other case options.
Now, I’ve successfully added all six options for the channel custom form field. Social, web, video, print, email and event. And as recognized against the pattern we’ll change the name of the project using the output for each of those six different cases. Our else statement we can change to whatever we want. I’m going to leave this simply as project name because we shouldn’t run into a situation based off of our search criteria where one of these fields is not selected. Let’s go ahead and click OK and then we’ll rename this Change Project Name.
Finally, let’s add the Workfront update record module to use the output from our switch module to change the project name.
For ID, I’m going to pull the ID item from our trigger module. For record type, I’ll of course choose project and then I’ll use Command or Control+F to find the project name. For this field I’ll click in and from the mapping panel I’ll choose the output for the new project name. Go ahead and click OK to save your work.
Finally, let’s rename our third module Update Project Name.
Let’s go ahead and run the scenario and then go into our Workfront test drive to see how the project names have been updated.
We can see that we’ve successfully operated on 17 different records or projects, and if we go into our Workfront test drive and refresh the page, we now have projects that have the three letter ID we created for each channel, the reference number, followed by the project name as it was when created originally. -
Want to learn more? We recommend the following:
Workfront
- Workfront Tutorials
- Administration and Setup
- Organizational setup
- Manage deleted items
- Configure system defaults
- Layout templates
- What are layout templates?
- Find layout templates
- Customize terminology with layout templates
- Customize the Main Menu with layout templates
- Add and manage pins through a layout template
- Customize Home with layout templates
- Assign and manage access to layout templates
- Customize object areas with a layout template
- Customize project details with layout templates
- Customize project headers with layout templates
- Customize reporting lists with layout templates
- Email and In App Notifications
- Create and manage users
- Approval processes and milestone paths
- System performance and maintenance
- Project finances
- Custom Data
- Custom Forms
- Calculated expressions
- Get started with calculated fields and expressions
- Learn the data expression structure
- Understand Date & Time and Mathematical expressions
- Create ADDDAYS, ADDWEEKDAY, ADDMONTHS, ADDYEARS expressions
- Use the Calculation Editor
- Create DATEDIFF and WEEKDAYDIFF expressions
- Create a SUB, SUM, DIV, or PROD data expression
- Use the CONCAT expression in a calculated field
- Create LEFT/RIGHT expressions
- Use the ISBLANK and CONTAINS expressions
- Create an IF text expression
- Things to know about calculated field expressions
- Manage work
- Projects
- Understand basic project creation
- Navigate the project page
- Learn four ways to create a project
- Fill in the project details
- Get started planning a project
- Take a project live
- Get started managing a project
- Find projects
- Share a project
- Understand the project team
- Understand project communication
- View project information
- Track overall project progress
- Track work progress with project metrics
- Understand the Gantt view
- Understand the Board view
- Tasks
- Issues/requests
- Request queues
- Portfolios
- Approval processes and milestone paths
- Create and manage project templates
- Project timelines
- Close a project
- Project finances for users
- Intermediate projects
- Projects
- Reporting
- Basic reporting
- Understand reporting elements
- Understand reporting components
- Create a basic grouping
- Create a basic view
- Add basic conditional formatting to a view
- Create a basic filter
- Understand the new filter experience
- Create basic filter activities
- Create a simple report
- Create a task report
- Copy a report
- Create reports with charts
- Create a matrix report
- Create dashboards
- Send and share reports
- Understand report settings
- Intermediate reporting
- Create filters with user-based wildcards
- Create filters with date-based wildcards
- Create OR statements in filters
- Understand built-in project filters
- Understand built-in task filters
- Understand built-in issue filters
- Understand basic text mode for filters
- Understand basic text mode for views
- Understand basic text mode for groupings
- Create custom prompts
- Advanced reporting
- Calendar reports
- Basic reporting
- Manage resources
- Workfront Goals
- Workfront Planning
- Integrations
- Adobe Creative Cloud
- Adobe Experience Manager Assets Essentials
- G Suite
- Jira
- Microsoft Outlook
- Microsoft Teams
- Adobe Workfront for Microsoft Teams Overview
- Install Adobe Workfront for Microsoft Teams
- Access Adobe Workfront from Microsoft Teams
- Search for and share Adobe Workfront items in Microsoft Teams
- Create Adobe Workfront tasks from Microsoft Teams
- Submit Adobe Workfront requests from Microsoft Teams
- Manage Adobe Workfront notifications in Microsoft Teams
- Slack
- Fusion
- Welcome to Workfront Fusion
- Understand the basics
- Initial scenario design walkthrough
- Initial scenario design exercise
- Mapping panel and formula editor
- Mapping panel important notes
- Beyond basic mapping walkthrough
- Beyond basic mapping exercise
- Use filters
- Filters walkthrough
- Filters exercise
- Access previous versions walkthrough
- Access previous versions exercise
- Universal connectors and routing
- Universal connectors exercise overview
- Introduction to universal connectors walkthrough
- Introduction to universal connectors exercise
- Understand routers
- Routers walkthrough
- Routers exercise
- Common routing patterns
- Routing patterns walkthrough
- Routing patterns exercise
- Set-it and get-it
- Get/Set variables walkthrough
- Set/Get variables exercise
- Iteration and aggregation
- Execution history and scheduling
- Beyond basic modules
- Data structures and data stores
- Final functional bits and bobs
- Troubleshooting and error handling
- Workfront Fusion administration
- Design optimization and testing
- Workfront Proof
- Learn the benefits of proofing
- Understand the difference between a document and a proof
- Proofing viewers explained
- Administration and setup
- What is an automated workflow template
- Customize proof comment actions
- Customize proof decision options
- Understand email alerts and proof notifications
- Proof roles and email alerts
- Report on proofs
- Set default at risk proof settings
- Set up global proof settings
- Set default proof roles
- Set up proof account default settings
- Settings for proof users
- Upload proofs
- What is a proof version
- Who uploads the proof versions
- Convert a document to a proof
- View and compare proof versions
- Upload a proof version
- Manage proof versions
- Upload a proof of a video
- Upload a proof of a website
- Upload a proof with a basic workflow
- Upload a proof with an automated workflow
- Upload with a drag and drop
- Combine multiple files into a single proof
- Proof workflows
- Review and approve work
- Workfront DAM
- System setup
- Metadata and keywords
- Brand Connect customization
- Workfront DAM user: Contributor
- Understand Workfront DAM as a contributor
- Understand asset management as a contributor
- Understand finding assets as a contributor
- Understand lightboxes as a contributor
- Understand metadata and keyword best practices
- Work with assets as a contributor
- Send a file as a contributor
- Publish assets as a contributor
- Add a Workfront DAM link
- Brand Connect user
- Home
- Agile
- Best Practices
- Agile
- API Explorer
- Business case and portfolio optimizer
- Communication
- Custom forms
- Custom reports
- Dashboards
- Documents
- Filters, views, and groupings
- Job roles
- Layout templates
- Licenses and access levels
- Onboarding and adoption
- Organization units
- Portfolios and programs
- Preview sandbox
- Project, task, and issue preferences
- Project templates
- Proofing
- Request queue
- Resource Planner
- Resource pools
- Scenario Planner
- Schedules
- Statuses
- System performance and maintenance
- Text mode reporting
- Timeline planning and management
- Timesheets and logging time
- Utilization
- Workfront Goals
- Workload Balancer
- Workfront for executives
Get inspired by fellow certified Workfront users
Discover how two Workfront pros grew their skills and advanced their careers through Adobe certification—and how you can too.Read their stories