2

i am creating record 'Campaign member' and want show in related list under Lead Object,

here i have criteria like CreatedDate = NOW() AND Description = abc based on above mention criteria Process builder's Action will fire and create a 'Campaign member' as we want in place

I am not sure but why Formula NOW() is not working Process builder in this case

Please see below screenshot : enter image description here

2
  • You can also try when created. You don't need to compare it with Now(). Commented Jan 10, 2017 at 7:56
  • @Tushar Did not get you. can you please elaborate ?
    – HSdev
    Commented Jan 10, 2017 at 7:58

1 Answer 1

2

When you create Process builder you get option to Select when this process builder will run. enter image description here

Here the select the first option then you don't need to compare it with Now() it will only work when a record is created.

6
  • Yes, that's right but i am also set Description field as in my criteria if Lead.Description = abc
    – HSdev
    Commented Jan 10, 2017 at 8:39
  • @HSdev you can leave that for now as it is. Commented Jan 10, 2017 at 8:41
  • but it is in my requirement. How can i leave it :) lemme tell you what is my actual criteria, i have a Field AdGroupId__c and that is checking field So, basically i can not change my process builder with Campaign from Lead. (This PB was build for Lead) :)
    – HSdev
    Commented Jan 10, 2017 at 8:46
  • @HSdev leave it means means you can leave this filter in original place this will not give you any error. Commented Jan 10, 2017 at 8:48
  • 1
    @HSdev I don't think that's very reliable. Just use "Only when a record is created." I don't think there's any guarantee that NOW() will return the exact same second as Created Date.
    – sfdcfox
    Commented Jan 10, 2017 at 9:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .