在自动化工作流分配人改变

I created a round robin process that takes the next person on a list of people and automatically assigns a project to them when it is added to a project list. If that person is out of the office, I created an automated workflow where if a project was assigned to them to re-assign it to the next person on the list.

The problem I'm having is that the person listed to re-assign it to, when the workflow is activated, their contact name is being changed to their email address and I receive an Invalid Workflow email. Having their email address listed instead of their name causes problems with the round robin process.

Below are screenshots of the before and after of the automated workflow. In the example below, if I'm the next attorney, the project is to be assigned to Jane Doe instead. When I'm actually the next attorney, Jane's name is changed to her email address in the workflow which then causes her email address to be listed on the project list instead of her name.

Any thoughts or ideas on what is causing the person's name to be switched to their email address?

This is the before:

image.png


This is the after:

image.png


Answers

  • Deric
    Deric ✭✭✭✭
    edited 05/02/23

    @Angie Bragg

    I haven't had that error, so I don't know for sure, but here are some ideas to check.

    1. make sure the workflow error isn't being triggered by another workflow or triggering another workflow - infinite loop error.
    2. check your contact list to see if[email protected]is listed twice - once as Jane Doe and once as[email protected].

    Follow up questions:

    Has the workflow ever worked? or is this the first time you have used it?

    How are the rows being added to your sheet?

  • Julio S.
    Julio S. Moderator
    edited 05/04/23

    Hi@Angie Bragg,

    As Deric points out, Automation uses the contact information that you have saved in your "Smartsheet Contact List" (Manage contacts in the My Smartsheet Contacts list) unless the user has a Smartsheet account, if you remove the contact from your list, the email address will show as the display value for the name as it seems to be in this case.

    If after creating a contact in your Contact List for Jane Doe or when using another contact from your Contact List in the "Attorney" field this continues to occur, if you haven't done yet, I would recommend opening a ticket with our Support team viathis form或访问Customer Support Portal. I hope that this can be of help.

    Cheers!

    Julio

  • @DericThe attorney re-assignment workflow works in my test workspace but not the actual real-timeworkspace. The actual real-time workspace does have a 3 or 4 workflows that are not in my test workspace. The rest of the workflows are the same in both workspaces.

    Jane Doe is only listed once.

    The request comes in via a form intake to a sheet that populates the data from the form and using INDEX/MATCH populates the next attorney on the round robin list. Once the attorney is added, the row is then moved to the project list containing all of the active projects currently being worked.

  • @Julio S.Thanks Julio! I'm going to try a couple of things first with the contact list. If they don't work then I'll contact Customer Support. Thanks for the advice!

My suggestion would be to just hide the unwanted columns.<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":321,"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":108465,"type":"question","name":"Auto number column giving duplicated numbers","excerpt":"Hi All, I have an auto number column that I use in a formula to get row# but that auto number column is producing duplicate numbers and therefore messing up the formula. Does anyone know why it is giving duplicate numbers? Thanks.","snippet":"Hi All, I have an auto number column that I use in a formula to get row# but that auto number column is producing duplicate numbers and therefore messing up the formula. Does…","categoryID":321,"dateInserted":"2023-08-03T12:12:56+00:00","dateUpdated":null,"dateLastComment":"2023-08-03T13:29:36+00:00","insertUserID":154030,"insertUser":{"userID":154030,"name":"Carmen W","url":"https:\/\/community.smartsheet.com\/profile\/Carmen%20W","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-03T13:28:19+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":154030,"lastUser":{"userID":154030,"name":"Carmen W","url":"https:\/\/community.smartsheet.com\/profile\/Carmen%20W","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-03T13:28:19+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":6,"countViews":22,"score":null,"hot":3382137752,"url":"https:\/\/community.smartsheet.com\/discussion\/108465\/auto-number-column-giving-duplicated-numbers","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/108465\/auto-number-column-giving-duplicated-numbers","format":"Rich","lastPost":{"discussionID":108465,"commentID":388692,"name":"Re: Auto number column giving duplicated numbers","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/388692#Comment_388692","dateInserted":"2023-08-03T13:29:36+00:00","insertUserID":154030,"insertUser":{"userID":154030,"name":"Carmen W","url":"https:\/\/community.smartsheet.com\/profile\/Carmen%20W","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-03T13:28:19+00:00","banned":0,"punished":0,"private":false,"label":"✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-08-03T13:29:48+00:00","dateAnswered":"2023-08-03T13:15:41+00:00","acceptedAnswers":[{"commentID":388687,"body":"

I got it. Change the Starting number to the number you want for a new row. Hope this works.<\/p>

\n
\n \n \"Screenshot_20230803-201230.png\"<\/img><\/a>\n <\/div>\n<\/div>\n


<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":321,"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":108418,"type":"question","name":"Row Report from Sheets in Workspace","excerpt":"If I have a set of folders under a workspace with different type sheets. Some will be Project plans, others may be RAID\/CRAID Logs, etc. Is there a way to create a row report of all the RAID\/CRAID Logs only, and separate from a similar row report with all the Project Plan line items?","snippet":"If I have a set of folders under a workspace with different type sheets. Some will be Project plans, others may be RAID\/CRAID Logs, etc. Is there a way to create a row report of…","categoryID":321,"dateInserted":"2023-08-02T14:40:11+00:00","dateUpdated":null,"dateLastComment":"2023-08-02T16:17:51+00:00","insertUserID":159779,"insertUser":{"userID":159779,"name":"BStump","title":"","url":"https:\/\/community.smartsheet.com\/profile\/BStump","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!cujqB1-W9go!xFsrMbvl6Mo!D9rNxJuoFT5","dateLastActive":"2023-08-02T21:15:16+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":null,"lastUserID":126800,"lastUser":{"userID":126800,"name":"Kelly P.","url":"https:\/\/community.smartsheet.com\/profile\/Kelly%20P.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-02T16:17:14+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":5,"countViews":40,"score":null,"hot":3381983282,"url":"https:\/\/community.smartsheet.com\/discussion\/108418\/row-report-from-sheets-in-workspace","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/108418\/row-report-from-sheets-in-workspace","format":"Rich","tagIDs":[265],"lastPost":{"discussionID":108418,"commentID":388532,"name":"Re: Row Report from Sheets in Workspace","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/388532#Comment_388532","dateInserted":"2023-08-02T16:17:51+00:00","insertUserID":126800,"insertUser":{"userID":126800,"name":"Kelly P.","url":"https:\/\/community.smartsheet.com\/profile\/Kelly%20P.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-02T16:17:14+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-08-02T16:16:11+00:00","dateAnswered":"2023-08-02T16:04:24+00:00","acceptedAnswers":[{"commentID":388524,"body":"

@BStump<\/a> <\/p>

This method does produce separate reports:<\/p>

The Project Plan report will include this filter: \"Sheet Type\" is one of \"Project Plan\" -- this filter will exclude rows coming from the RAID Log (and all other types of sheets) because those other sheets will have a value in their \"Sheet Type\" column that is not \"Project Plan.\" <\/p>

The RAID Log report will include this filter: \"Sheet Type\" is one of \"RAID Log\" -- this filter will exclude rows coming from the Project Plan (and all other types of sheets) because those other sheets will have a value in their \"Sheet Type\" column that is not \"RAID Log.\" <\/p>

Thus, each report will include a filter rule specifying that only rows with its own sheet type can be included.<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":321,"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":265,"urlcode":"Reports","name":"Reports"}]}],"initialPaging":{"nextURL":"https:\/\/community.smartsheet.com\/api\/v2\/discussions?page=2&categoryID=321&includeChildCategories=1&type%5B0%5D=Question&excludeHiddenCategories=1&sort=-hot&limit=3&expand%5B0%5D=all&expand%5B1%5D=-body&expand%5B2%5D=insertUser&expand%5B3%5D=lastUser&status=accepted","prevURL":null,"currentPage":1,"total":4910,"limit":3},"title":"Trending in Smartsheet Basics","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

Trending in Smartsheet Basics