Käynnissä

Create a complexe with Rules (DRUPAL)

Hi,

I just have created a Rule which should change the value of a list according to date elements.

In CONDITIONS, I'm comparing 4 times date values (Data comparison) and I would like that a specific action is started in ACTIONS. For example, when the first "Data comparison" (CONDITIONS) is True, the first "Set a data value" should be started, when it is the second "Data comparison" (CONDITIONS) is True, the second "Set a data value" should be started etc.

Could someone fix my problem, because my rule didn't work.

Thank you in advance for your bids.

Cheers

Marc

RULES

EVENT

After saving new content

Content is viewed

After updating existing

CONDITIONS

Content is of type

Parameter: Content: [node], Content types: Competence, Contact, Event,...

Entity has field

Parameter: Entity: [node], Field: field_workflow

AND

Data comparison

Parameter: Data to compare: [node:field-campaign:value], Operator: is greater than, Data value: now

OR

Data comparison

Parameter: Data to compare: [node:field-campaign:value], Operator: is lower than, Data value: now

OR

Data comparison

Parameter: Data to compare: [node:field-campaign:value2], Operator: is lower than, Data value: now

OR

Data comparison

Parameter: Data to compare: [node:field-realisation:value], Operator: is lower than, Data value: now

ACTIONS

Set a data value

Parameter: Data: [node:field-workflow], Value: pending (campaign)

Set a data value

Parameter: Data: [node:field-workflow], Value: active (campaign)

Set a data value

Parameter: Data: [node:field-workflow], Value: pending (realisation)

Set a data value

Parameter: Data: [node:field-workflow], Value: active (realisation)

Save entity

Parameter: Entity: [node], Force saving immediately: true

Taidot: Drupal

Näytä lisää: drupal rules date compare, elements actions, rules, active campaign, field type drupal, create event, drupal type, node content type, problem parameter, operator date, compare save, drupal existing, true type create, drupal content type, create node, create date, drupal rules user, drupal rules user request, drupal rules configuration, fix drupal, drupal rules, drupal workflow, drupal create content type, drupal operator, drupal contact

About the Employer:
( 3 reviews ) Strasbourg, France

Projektin tunnus: #1711809

Myönnetty käyttäjälle:

fhedayatif

Hi Marc, I'll be happy help you with your rules problem!

50 $ USD 1 päivässä
(21 arvostelua)
5.2

2 freelanceria on tarjonnut keskimäärin 63 $ tähän työhön

vinodbhavnani

Hello sir, please check your PMB :)

75 $ USD 1 päivässä
(34 arvostelua)
5.0