--- title: "Salesforce: Calculating ‘Path Progress-%’" slug: "salesforce-calculating-path-progress" updated: 2026-11-23T12:33:07Z published: 2026-11-23T12:33:07Z canonical: "support.gainsight.com/salesforce-calculating-path-progress" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.gainsight.com/llms.txt > Use this file to discover all available pages before exploring further. # Salesforce: Calculating ‘Path Progress-%’ IMPORTANT **The functionality described in this article is not applicable to the Skilljar Starter package.** Create ‘Path Progress-%’ calculations on Salesforce similar to how it appears on the student’s profile in your Skilljar Dashboard. This tutorial walks through how to create to calculation running on a daily basis. To learn more about our Salesforce Data Connector integration, see [Salesforce & Skilljar 101](/v1/docs/salesforce-skilljar-101). The example used in this article shows the calculation as part of the ‘Path Progress’ object. If you are using visibility settings within the courses that make up a path there might be inaccuracies between the Path Progress-% you see on Skilljar dashboard and Salesforce. ## What you’ll need You’ll need specific objects and fields. For more information, see Salesforce Integration: [Custom Objects and Their Fields](/v1/docs/salesforce-custom-objects-and-their-fields). ### Objects The objects you’ll need are (see an example below from Schema Builder): - Students - Path Progress - Path ![Screenshot showing Objects](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433340887571.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=C5PuwLBuNzB6%2Bvd6P7eHVLHuoVKsHytXd42IEaZ91C8%3D) ### Fields The fields you’ll need for the ‘Path Progress-%’ formula are: - **Total Courses:** Roll-up formula on Path to count the number of path items (courses) in a path. - **Total Courses Formula:** Formula on Path Progress object to pull the value of Total Courses from the Path Object. - **Courses Complete:** Count of path items completed by a student in a path - **Path Progress %:** Total Courses / Courses Complete. ## Total Courses The below steps are performed within your Salesforce instance. 1. Go to your Object Manager in Salesforce. 2. Search for “Path’-object.” 3. Select **Fields & Relationships** and **Create New Custom Field.** 4. Select **Roll-Up Summary** as the data type ![Screenshot showing Total Courses](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433329719443.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=Bc9LCc%2B9ysFrExtwuhsxwGjnPkRNwdVptzDI3rAvLME%3D) 5. Provide the ‘**Field Label’** and ‘**Field Name**’ (for example, Total Courses), and select **Next.** 6. Select: - **Summarized Object:** Path Items - **Select Roll-Up Type:** COUNT 7. Select **Next** to set up visibility and then **Save**. ![Screenshot showing Total Courses](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433340896659.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=tJeeE23zKEfp9nLo9%2F%2FXPkgnz2BXU6mGwC9gSQj%2BnBQ%3D) ## Total Courses Formula Next, we need to take the value from the field ‘Total Courses’ we created in the last step and add it as part of the ‘Path Progress’-object. We can do this by creating a new formula: 1. Go to Object Manager in Salesforce. 2. Search for ‘Path Progress’-object. 3. Select **Fields & Relationships** and **Create New Custom Field.** 4. Select **Formula** as the data type. 5. Provide the ‘**Field Label’** and ‘**Field Name**’ (for example, Total Courses), and select **Next.** 6. In the Formula-field, enter: ‘skilljar__Path__r.Total_Courses__c’. 7. Select **Next** to set up visibility and then **Save**. ![Screenshot showing Total Courses Formula](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433340899987.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=ERHKIR%2FJuURdCsj4aT%2FQ%2F3Z%2FcMKbMHdzNjVXEaj5BhU%3D) ## Courses Complete ### 1 Create a new numerical field. 1. Go to Object Manager in Salesforce. 2. Search for ‘Path Progress’-object >. 3. Select **Fields & Relationships** and **Create New Custom Field.** 4. Select **Number** as the data type. ![Screenshot showing 1 Create a new numerical field.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433340904851.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=V2RbFLgK6UNTUNTEZWLwW5EmnuAGAbDgC0juPiFiYt4%3D) ### 2. Add the completion date of path items, path ID and student IDs to the Path Item Progress object. You can create a new field via Object Manager by following the [above steps](/v1/docs/salesforce-calculating-path-progress#courses-complete) and using these data types and formulas: - **Data type:** Formula - **Formula:** ‘skilljar__Course_Progress__r.skilljar__Completed_At__c’ ![Screenshot showing 2. Add the completion date of path items, path ID and student IDs to the Path Item Progress object.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433329732627.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=iKFaBvi5N%2FrTxuIqm4x985Nhoba1XytcZxbcU7dhcl8%3D) - **Data type:** Formula - **Formula**: CASESAFEID(skilljar__Path_Item__r.skilljar__Path__r.Id) ![Screenshot showing 2. Add the completion date of path items, path ID and student IDs to the Path Item Progress object.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433329739667.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=4tzhKKS2HjUIYOQF8x6WyTaMsoY4ntiZUMXP%2BJGwX8w%3D) - **Data type:** Formula - **Formula**: CASESAFEID(skilljar__Path_Progress__r.skilljar__Student__r.Id) ![Screenshot showing 2. Add the completion date of path items, path ID and student IDs to the Path Item Progress object.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433329743507.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=STEfFK2k42o5eZCU4mN0vcINN9ulc%2F2wsb5abo%2FMFC4%3D) ### 3 Create an automation flow in Salesforce Flow Builder to update the ‘Course Complete’-field value. Search for ‘Flows’ in the Salesforce setup to access Flow Builder and select **Flows** under Process Automation: ![Screenshot showing 3 Create an automation flow in Salesforce Flow Builder to update the ‘Course Complete’-field value.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433340938131.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=mHnw1TIGGOP312TQ%2F0AL2jrP5TXxXIDfsWcEDfhMQiQ%3D) Select **New** to create a flow. The flow we build looks as follows: ![Screenshot showing 3 Create an automation flow in Salesforce Flow Builder to update the ‘Course Complete’-field value.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/25701316699411.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=aG6GN4TInL6Z4UkBGN%2FFs2XCkK3i1TLJZN83VfPlk9E%3D) ### 4 The flow will trigger based on a schedule ![Screenshot showing 4 The flow will trigger based on a schedule](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/22296231932947.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=3cJ5NXSYIwiWZJuPgyDIIxSCm%2FZQMBDKV6yOvZjfB28%3D) For the start configuration, select the following values: - **Set a schedule:** Pick a Start Date and Time, and the Frequency (daily, weekly) ![Screenshot showing 4 The flow will trigger based on a schedule](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/25701316716819.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=hrBaZ7OKUYVXb7cRvxj%2BoLI1%2Bt0oWUuPQixZrtyj0iE%3D) - **Choose Object**: ‘Path Progress’ - **Condition Requirements:** ‘None - Run For All Path Progresses’ ![Screenshot showing 4 The flow will trigger based on a schedule](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/22296262285843.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=OfGa%2FjflQxv1rRZvqBm0vcxj0N%2FPpc7x%2B8labe1jmXg%3D) ### 5 Create two variables to store the Path ID and Student ID of the completed path item. You can create the variables by selecting **New Resource** on the side menu: ![Screenshot showing 5 Create two variables to store the Path ID and Student ID of the completed path item.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433340962579.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=V1u2XkAhewTB2wAVvfxrOAjSqAa7y0Hx1X%2FSecv7avU%3D) Create the variable for Path ID by providing a name and description for the variable. For the Data Type select **Text**: ![Screenshot showing 5 Create two variables to store the Path ID and Student ID of the completed path item.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433329781011.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=zI6Zn4yVGEhpDk%2Fkkg850Hb51lcNGe9e1Wky9x7VfUM%3D) Repeat the same steps for Student ID: ![Screenshot showing 5 Create two variables to store the Path ID and Student ID of the completed path item.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/22296262307475.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=CKS3EqQxHv1yllfyKj4iGG%2FqvFoAcM%2FGFiiHOx%2BGoNk%3D) ### 6 Create two formula fields to use the CASESAFEID-formula for both, Path ID and Student ID After creating the variables, create two formula fields to use the CASESAFEID-formula for both, Path ID and Student ID to ensure the IDs are passed correctly in their original form. You can find more information about the formula [here](https://help.salesforce.com/s/articleView?id=sf.customize_functions_casesafeid.htm&type=5). Create the formula by selecting **New Resource** on the side menu. Select: - Provide name and description. - **Data Type:** Text. - **Formula**: CASESAFEID({!FindPathID}). ![Screenshot showing 6 Create two formula fields to use the CASESAFEID-formula for both, Path ID and Student ID](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433340979603.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=BDguEB4HE3XCCRlqZn%2BYQxykEBQgE2vBcJ9%2FusFFAUs%3D) Next, create another formula field: - Provide name and description - **Data Type**: Text - **Formula**: CASESAFEID({!GetStudentID}) ![Screenshot showing 6 Create two formula fields to use the CASESAFEID-formula for both, Path ID and Student ID](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/22296231982483.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=BnM9PVaFKypREB3axTJ5EGDAK4fequYsSK%2FyrH2qAIA%3D) ### 7 Add a new Assignment-element to assign the Path ID and Student ID Next, store the path and student IDs associated with the path item completion by assigning them as variables. You can do this by selecting the **+** icon in the flow. From the Add Element menu under Logic select **Assignment**. ![From the Add Element menu under Logic selectAssignment.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433341000339.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=L31p6n98VfYmQaacRqPsy86KwsQyzJ82JNmt8cn7qMA%3D) Assign the Path ID and Student ID to the variables you created above (but *not* the formula fields created in [Step 5](/v1/docs/salesforce-calculating-path-progress#5-create-two-variables-to-store-the-path-id-and-student-id-of-the-completed-path-item)): - **Path ID**: - **Variable**: FindPathID - Operator: Equals - Value: Record > Path {!$Record.skilljar__Path__c} - **Student ID**: - **Variable**: FindStudentID - **Operator**: Equals - **Value**: Record > Student ({!$Record.skilljar__Student__c}) ![Screenshot showing 7 Add a new Assignment-element to assign the Path ID and Student ID](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/22296262318995.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=E6ywQvYr1yr8IR%2BLETmgz9orNvykEmnA%2FBWtJDsD5%2F8%3D) ### 8 Add Get Records elements to the flow Add ‘Get Records’ element to the flow, where you create a list of all path items that the student has completed in that path. Select: - Provide Label and Description - **Object**: ‘Path Item Progress’ - **Condition Requirements**: All Conditions Are Met (AND): - **Field**: Student_ID__c - **Operator**: Equals - **Value**: StudentIDFormula (from [Step 6](/v1/docs/salesforce-calculating-path-progress#6-create-two-formula-fields-to-use-the-casesafeidformula-for-both-path-id-and-student-id)) - AND - **Field**: Completed_At__c - **Operator**: Is Null - **Value**: False - **Sort Path Item Progress Records:** - **Sort Order:** Ascending - **Sort By:** skilljar__Path_Item__c - **How many records to store**: All records - **How to Store Record Data**: Automatically store all fields. ![Screenshot showing 8 Add Get Records elements to the flow](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/25701316731795.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=cMUYKIMZ5tPjmuM%2FjdfFjBEPB04V8cB6YS2zUgOHCAI%3D) ### 9 Remove duplicated path item completions Next, we need to remove duplicate path item completions for students from the list we created in [Step 8 above](/v1/docs/salesforce-calculating-path-progress#8-add-get-records-elements-to-the-flow). This way the path progress-% will never exceed 100%, even if the student has completed the same path item multiple times. Since we have already sorted the list by Path Item ID, we can compare each Path Item ID to the previous one and keep only the unique completions. First, we will add a variable to store the previous ID. We’ll leave it empty in the beginning: ![Screenshot showing 9 Remove duplicated path item completions](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/25701316746771.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=0p3FjmprkVjYuq8nTltIg1SP0UFEEI5onHtkqNz9VkU%3D) Second, we need to create a new Collection Variable that will be the final list containing only unique path item completions. This list will be empty in the beginning: ![Screenshot showing 9 Remove duplicated path item completions](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/25701316776339.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=sHgYitt%2FyYTIGVtCiV6grRKH%2Fr3ciLJE6nugbnAyBeY%3D) Next, add a ‘Loop’ element to check for duplicates. Select: - **Collection Variable:** {!Get_Path_Progress_for_the_Path_ID_and_Student_ID} ![Screenshot showing 9 Remove duplicated path item completions](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/25701333117203.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=EvfD6sl39M2%2BXQ%2FAccCERV6S3dHMPCv8Dv0bT9xHsCU%3D) Next, add a ‘Decision’ element where we have two outcomes depending if a duplicate is found. In the outcome for when there’s a duplicate value add the following condition to compare the IDs of the current loop item and the previous record: - **Condition Requirements**: All Conditions Are Met (AND): - **Field**: {!StorePreviousPathItemID} - **Operator**: Equals - **Value**: {!Remove_Duplicates_from_Path_Item_Progress_List.skilljar__Path_Item__c} ![Screenshot showing 9 Remove duplicated path item completions](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/25701333128979.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=nItvqne8swGJ6dfoZBojLqJ8ubhCtOMxvdz52TKNMKc%3D) If there is a duplicate (‘Yes’ outcome in the above screenshot), we can leave this branch empty in the flow. If there was no duplicate (‘No’ outcome), we will add the record to the final list (‘PathItemCompletionsList’) by adding an ‘Assignment’ element. Select: - **Variable**: {!PathItemCompletionsList} - **Operator**: Add - **Value**: {!Remove_Duplicates_from_Path_Item_Progress_List} ![Screenshot showing 9 Remove duplicated path item completions](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/25701333148947.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=xV5Sm8gRm5hmCh83MDt6mjd9%2F4p6PUBg4NsPQhjZPHA%3D) The last step in the ‘Loop’ is to update the previous path item ID variable ({!StorePreviousPathItemID}) by adding an ‘Assignment’ element after the outcomes. Select: - **Variable**: {!StorePreviousPathItemID} - **Operator**: Equals - **Value**: {!Remove_Duplicates_from_Path_Item_Progress_List.skilljar__Path_Item__c} ![Screenshot showing 9 Remove duplicated path item completions](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/25701316860947.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=a9iq9rPPik%2BzS5vTI%2Bby7eRnfSKDZpFDsPNVf8MbOQQ%3D) ### 10 Create a number variable to store the number of completed path items by the student. Create a new variable, similar to [Step 5:](/v1/docs/salesforce-calculating-path-progress#5-create-two-variables-to-store-the-path-id-and-student-id-of-the-completed-path-item) ![Screenshot showing 10 Create a number variable to store the number of completed path items by the student.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/25704411284883.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=oUcbF2rul9Fq%2FBJgSYF0gdxuBgQLzQaNwoVPWg1cKQw%3D) ### 11 Add another ‘Assignment’ element to the flow and assign the number of completed path items to the variable Add another ‘Assignment’ element to the flow and assign the number of completed path items to the variable created in [Step 10](/v1/docs/salesforce-calculating-path-progress#10-create-a-number-variable-to-store-the-number-of-completed-path-items-by-the-student). You can do this by taking the count of records retrieved in [Step 9](/v1/docs/salesforce-calculating-path-progress#9-remove-duplicated-path-item-completions). Select: - **Variable**: ‘NumberofCompletedPathItemsbyStudent’ (variable name from [Step 10](/v1/docs/salesforce-calculating-path-progress#10-create-a-number-variable-to-store-the-number-of-completed-path-items-by-the-student)) - **Operator**: Equals Count - **Value**: {!Get_Path_Progress_for_the_Path_ID_and_Student_ID} (record collection name from [Step 9](/v1/docs/salesforce-calculating-path-progress#9-remove-duplicated-path-item-completions)) ![Screenshot showing 11 Add another ‘Assignment’ element to the flow and assign the number of completed path items to the variable](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433341028371.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=pdSk416VD0lUrOmtKO94XurKZHsA32cS7RVk1xXTw6M%3D) ### 12 Add an Update Records element to the flow to update the Courses_Complete field in the Path Progress object Select: - Provide Label and Description - **How to Find Records to Update and Set Their Values:** Specify conditions to identify records, and set fields individually - **Object**: ‘Path Progress’ - **Condition Requirements**: All Conditions Are Met (AND): - **Field**: Path__c - **Operator**: Equals - **Value**: PathIDFormula - AND - **Field**: Student_ID__c - **Operator**: Equals - **Value**: StudentIDFormula - Ser Field Values for the Path Progress Records: - **Field**: Courses_Complete__c - **Value**: {!NumberofCompletedPathItemsbyStudent} (from [Step 9](/v1/docs/salesforce-calculating-path-progress#9-remove-duplicated-path-item-completions)) ![Screenshot showing 12 Add an Update Records element to the flow to update the Courses_Complete field in the Path Progress object](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/22296232005907.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=mDgA08H6BtLv1cfbYIiJFCw6RQ6RNe73rRxEQvqJ9Tc%3D) Finally, save the flow and debug it to make sure everything runs as expected. Once the flow has been activated, you should see the ‘Courses Complete’ variable being updated in the Path Progress object whenever someone completes a path item on Skilljar. ## Path Progress % Pull the ‘Total Courses' from the Path Progress object to calculate the ‘Path Progress-%’ on the Path object. You can do this by creating a new formula field on the Path Progress object using the Object Manager: ![Screenshot showing Path Progress %](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433329821203.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=ByByjZf2GzmhVGxGlARQ9jQ%2BrXbdcxpmcRBbFXuUbKI%3D) Now that we have the two variables, ‘Course Complete’ and ‘Total Courses’ on Path Progress object, create a formula called ‘Path Progress-%’ by creating another formula field to make the division: ![Screenshot showing Path Progress %](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/19433329822739.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A21%3A44Z&se=2026-11-24T19%3A21%3A44Z&sr=b&sp=r&sig=xYyg3pWCYpSrqMLUhlB%2Feyy54YYQ20QmXabfgei3P7Y%3D) Once you have the flow activated and the formulas created, whenever a student completes a path item it should automatically update the ‘Path Progress-%’ field.