Help with Drupal Rules module

In Progress

I have a Drupal 7 website that records my flock of sheep. I have a content type (Sheep Record) with various information about each sheep in it and another content type (Movement Record) to record any movements of sheep on or off the farm.

When I create a Movement record I choose the 'Moved from' and 'Moved to' locations (which are taxonomy terms) and then using Entity Reference and an Entity Reference View Widget, choose which animals are moved.

Currently, I have a field in the Sheep Record for 'Location', which is rendered from a View showing the most recent 'Moved to' field relating to that sheep.

My problem is that this field can't be used to sort the Sheep records by location in other Views etc - as some Sheep have numerous Movement Records referring to them, their Location field is not necessarily unique - I can show the latest 'Moved to' location in the Sheep record using a View, but it is just the latest in the list of Moved to locations referring to that sheep, sorted by date.

I think it should be possible to use Rules to set a field (ie Location) in the Sheep record when a Movement record that refers to that sheep is saved. That is to say, when a Movement record is saved, Rules cycles through all the Sheep records referred to in the Movement record and sets the Location field in each Sheep record to the Moved to field from the Movement record.

Then I would be able to sort the Sheep records by Location.

I have tried to get my ahead around using Rules in this way, but have failed.

Can anyone help me with this?

Skills: Drupal, Joomla, TYPO3, WordPress, Yii

See more: drupal todo list module, advanced poll drupal electoral list, drupal word list view module, drupal profile list customize, fivestar module works drupal, best drupal friends list module, module joomla java category list slide, module pdf drupal, drupal friend list, search module dropdown drupal, proxy list sorted date added, module friends drupal, module project drupal, signup module email drupal smtp

Project ID: #11723361

Awarded to:

NoSssweat

Rules is my favourite module, I am a rules expert. I can solve your problem. I look forward to working with you.

£100 GBP in 0 days
(8 Reviews)
3.4

18 freelancers are bidding on average £159 for this job

xenixphp

Hello, Drupal expert here with more than 6 years of experience. I did more than 300 sites in drupal. please let's discuss and proceed. few words... eat drupal, drink drupal sleep drupal,love drupal involve in More

£222 GBP in 7 days
(50 Reviews)
6.9
sapotacorp

Hi sir. Could you let me know what's your website? I'll support you about using Rules in this project. I'm an excellent drupal expert. I'm very professional. I have developed more than 200 drupal sites. I can start imm More

£143 GBP in 3 days
(222 Reviews)
6.8
mushrraf

Hello! Hopefully you are fine! I am a Drupal module/theme developer and you can refer to my profile for my experience in this sphere. I would like to view your site to check your issue! I am available right no More

£100 GBP in 3 days
(90 Reviews)
7.0
techwelf

yes, let's clarify the requirement in details also if you want us to share our skill and previous work let us know.. hope to hear you soon.. Thanks & Regards PROMITI

£205 GBP in 7 days
(21 Reviews)
5.2
lordpet

I’m a UK based drupal developer with over 10 years experience in drupal CMS. I also have over 16 years experience in doing web based applications but have chosen drupal as my platform of choice. I am proficient in More

£277 GBP in 3 days
(7 Reviews)
5.3
bhatiasiddharth

Dear Client, Thanks for providing opportunity to bid on the project I have 7+ years of experience in making site on drupal platform Some of the Drupal sites are:- 1) https://www.humandesignforusall.com/ More

£166 GBP in 3 days
(7 Reviews)
4.8
payalsavasani

Hello Sir, I have gone through your requirement and ready to work on it. I have more then 7 years of experience in PHP & its CMS. Please check my recent work: http://www.baechtelcreekinn.com/ http://www.tour More

£150 GBP in 3 days
(5 Reviews)
4.1
buddyforit

We are into website development since 2008. We are having expertise in PHP, Wordpress, Drupal and many other open source technology. We have clients from USA, UAE, Australia. Give us the chance to work with you on free More

£150 GBP in 3 days
(7 Reviews)
3.1
danil2021

Hello , I have 5 years experience in php(mysql+html5,css3),wordpress(theme customization,plugin development,plugin integration,API integration) and E-commerce(payment integration,add to cart). http://aiwt.com.au/ More

£150 GBP in 3 days
(2 Reviews)
3.1
Webbleu

Hello Dear Client, We have gone through your requirement and would to take this opportunity to work on this project. Can you send a detailed requirement about your project. About us We have been providin More

£161 GBP in 3 days
(4 Reviews)
3.2
IgorBezborodov

DEAR EMPLOYER! We are an IT team with 3 years’ old experience in Website and Application Development. What we can do are Wordpress CMS, html5, PHP, CSS3, JavaScript, Joomla CMS. Our major base of clients is commercia More

£150 GBP in 3 days
(4 Reviews)
2.6
BestWeb08

Hi There, Greeting from BWT!!! Hope you are doing well. Note – we have a team of experts of website, smart phone application, designers and seo. Our past work sample on Cake PHP, Drupal, Joomla, Magento, PHP f More

£150 GBP in 3 days
(0 Reviews)
0.0
rainstreamweb

Hello, This is not copy/paste message. I read your requirements. I am interested for this job. I have expertise in Wordpress, Laravel, Magento, AngularJS, Ruby on Rails, Core PHP etc. technologies and can work on More

£150 GBP in 3 days
(0 Reviews)
0.0
infoRidge

Recent work www.yolocal.co.uk (A local service Website) Greetings from InfoRidge Technology!! Dear Employer, Maybe our cover letter is not much powerful as like others but our skills and expertise are overwhelming to o More

£150 GBP in 12 days
(0 Reviews)
0.0
sivaihvf

A proposal has not yet been provided

£222 GBP in 15 days
(0 Reviews)
0.0
fortune55

DEAR EMPLOYER! We are an IT team with 3 years’ old experience in Website and Application Development. What we can do are Wordpress CMS, html5, PHP, CSS3, JavaScript, Joomla CMS. Our major base of clients is commercia More

£150 GBP in 3 days
(0 Reviews)
0.0
foridev

Good day! Ready to work! We are the team of professional web developers. We have a very talented Drupal developer who can help you with rules. You can find information about us and our works here: http://foridev.co More

£133 GBP in 3 days
(0 Reviews)
0.0
ratfree

Having extensive experience in building high traffic, multi-language, and SEO friendly websites, custom coding, re-using and patching the existing drupal modules and components, we can offer you the best of development More

£166 GBP in 5 days
(0 Reviews)
0.0
DashaDotNET

Hello. My name is Dasha, i'm a representative of Drupal development company based in Ukraine, called Internet Devels. We are a big team of 200+ (at the moment) specialist's in Drupal websites. We like to build close r More

£150 GBP in 3 days
(0 Reviews)
0.0