Jump to content


Photo

Report filters (and/or Workflows triggers) check null related model

workflow report

  • Please log in to reply
1 reply to this topic

#1 ifimais

ifimais

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 31 March 2016 - 04:44 PM

Hello
 

Is it possible to create a report that shows, eg, all Contacts with no Account selected?

 

In the filter section of the report form you can check if ordinary fields are null, but - using the Contacts example - you cant check if the Account field is empty or if it has no Opportunties related.

 

One way to surpass this was by checking if a required field of the related model was null, like the name of the account, but I was wandering if there is a better way to do it. Also, this method doesnt seem to work with lists: to check, eg, if there is any contact with no Opportunities.. 

 

(the same applies when creating a workflow)

 

Thank you,



#2 CRMHub

CRMHub

    Zurmo Guru

  • Administrators
  • 26 posts
  • LocationLondon, UK

Posted 14 May 2016 - 01:49 AM

Your workaround is actually an effective way of achieving the filter you want.

You will not be able to filter in the same way in list views since search filters at the list view level will not allow you to specify fields from related records in the search filters.  


The CRM Hub
w. http://CRMhub.co
e. Info@CRMhub.co





Also tagged with one or more of these keywords: workflow, report

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users