Calculation - last status
Hello, is it possible to have calculation field in one App, witch will refers to last status in another App? Example: I have App Customers (A) and App Communication (B). In Communication I record all communication with Customer. I need to filter all customers, that was sent First email (status in Communication is "First email") and I have no follow communication with them. If they answer me, the other record in Communication has status "Received email", and each other communication has its own status. So I can see, when I look to app Customers, in what stage is communication with each Customer. Is it possible? Thank you, Silvie

  • Hi Rainer, you are just perfect :) I applied all your advices and it works. Thank you very much for your usefull help. I know, that as our company will grow, we will need to pay for Podio and also because of you I know, that it will work. In this moment we are at the beginning of the business and we are ok with this version, but once we will grow, we expect to use full version. Thank you!
  • uups, there's a typo. must be moment(@max of date field from communications). add(14, "days").toDate()
  • Hi Silvie, yes, I've an idea. Is it always the same way you work so that: First communication item linked to customer is " Phone call", second is "First email", third is ""Received email" and so on? So that a customer who has two incoming references from communications has got a Phone call and the First email (and not First email and Received email)? If so you can use numbers in a calculation field and you can filter on that numbers. In the calculation field you simply have to use @all of status.length The result: - if 1 than only "phone call" is related - if 2 "Phone call" and "First email" are related - if 3 "Phone Call", "First email" and "Received email" are related. If that is not possible "translate" the result of your existing calculation field (status of last related cimmunication item) into numbers. Create a new calculation field "Status number": var status = @FieldWithPulledStatus; status == "Phone call" ? 1 : status == "First email" ? 2 : status == "Received email" ? 3 : status == "Sent email" ? 4 : 0 0 means: no communication Now you can create several views in Customers by using the field "Status number" as filter. Select it and enter: from: 2 to 2. Save the view and name it e.g. "Last Status: First email" and so on. You even can create more specific views like: last status = "First email" and this communication is older than two weeks (means: no communication happens with this customer for 2 weeks). One example: Create another calculation field "Check date" in customers: moment(@max of date field from communications), add(14, "days").toDate() Let's say you always want to see those customers whose last contact date is older then 14 days (means: nothing happened in the last 2 weeks; if you want 10 days or whatever as limit change the number in the calculation). Today is May, 21. Last contact date for customer A is May, 8 , check date is May 8 + 14 days = May, 22. Last contact date for customer B is May, 9 , check date is May 9 + 14 days = May, 23. Both have last status "First email" (= Status Number 2), they are the only one with this status Now filter for Status Number: from 2 to 2 (which would show A and B), and then for Check date "All past dates" . Result would be: no item. Save this view. Tomorrow on May, 22, there will be one item (Customer A) in the view, one day later 2 items (A and B). In this view you will always see those customers whose last contact date is minimum 14 days old. Btw: If you use only the Check date filter you would get all customers where nothing happened the last 2 weeks. If you won't be a Podio Free Member and could use Podio Advanced Flows or if you would use the (paid) extension GlobiFlow, it would be much more comfortable to get the views, filters and data you want and even alarm notifications and automatically generated tasks. Rainer
  • Avatar Hello Rainer, thank you very much - Status is sent to App A and it works. But as you wrote, filter doesn´t work. You understand right the process with emails. I want to filter those customers, that was sent the first email and there is no subsequent communication. I thought, that this could be solved by linking last status of communication to App Customer, but if I cannot filter based on the text field (calculation field) it doesn´t help me. The field Status is single choice(First email, Phone call, Sent email, Received email, etc.). Any idea how to solve this?
  • Sorry, sorry, my mistake. Delete .join() Just to be sure that I understand your setup right: When the first E-Mail is send, you create a Communication record A1, link it to the customer A and select the category "First email". When customer A answers you create the next Communication record A2 with status " Received email" and link it to A. But the first record A1 won't be touched and keeps the status "First email"? Is the Status field a multi choice category field or a single choice? What exactly do you want to filter? Something like: Every customer whose last communication (= First email) is older then x days? Rainer
  • Hi Rainer, if I cannot filter on a calculation field wth text, this function doesn´t help me with my problem. Anyway, I tried to use your advice, but it doesn´t work..(message Script Error: Type Error: undefined is not a function) - where could be a problem? Could you advice me, how to solve my issue? In communication I can filter all customers that was sent First email, but I these are all new customers. I would like to filter customers, that was sent First email and since then there has been no further communication. Last time you helped me very much, I believe, that this time we will be also succesful :) Thank you!
  • Hi Silvie, sure. But you can't filter on a calculation field wth text as you want it (only if they are number or date type). The latest one you should get with: var stat = @all of status; stat[stat.length -1].join() Rainer
  • Hi Rainer, each customer has many communication records - first we contact him by phone, we record it to Podio, then we send first email, record it to Podio, and then other communication...in this moment we are Podio Free member, we just start our business and we are testing, if Podio can be useful for our business and building CRM or not. I would like to know, whether is possible, with some similar way like with calculation field and date of last communication, to have calculation field in App Customer, which will refer to status of last Communication. I tried it, and it is possible to refer to all statuses in communication, I need only the last one...is it possible?
  • Hi Silvie, is there only one communication record related to a customer? If so and if you are Podio Plus or Premium member you can synch the status with Podio Advanced Workflow. Create the same status categories in Customers as in Communication, than create a workflow in App Communication: If field Status has changed update related item in Customer in field status = status value in communication. Rainer
This question is closed.