#Not able use to subscribers data details in creating condition

1 messages · Page 1 of 1 (latest)

hushed steepleBOT
#

@scenic fern, you just advanced to level 1!

scenic fern
#

Its working "data.customkey"

river pumice
#

Thanks for sharing @scenic fern

Did you find this in doc somewhere?

scenic fern
#

No @river pumice , I'm just tired

river pumice
#

Sorry for inconvenience
We will make sure it is communicated better in docs on how to use custom data key in conditions

river pumice
scenic fern
#

Hi @river pumice , No, I'm not facing any issues .Thanks for sharing the details.

river pumice
#

Thanks for the update

#

Would you like to share how you are planning to use Novu

scenic fern
#

I need to send emails for users with dynamic data based on some conditions. I'm using subscriber data for setting Conditions.

How the contain will work in condition ?
can I use like this "contain 1,2,3,4"?

river pumice
#

@scenic fern

If I apply this condition and send name value in payload

it will match the exact characters and placement of characters.

#

contain 1,2,3,4 will not work

scenic fern
#

so combination of "And" and "OR" is not possible right ??

river pumice
#

Combination can be applied

#

But in a single rule it is not possible

scenic fern
#

Understood @river pumice. is there any way to check dates in condition ?

"completed date is 2 days ago" or "booking date is 5 days away" like this ?

river pumice
#

currently dates are not supported

#

string type comparison can be done

scenic fern
#

okay @river pumice Thanks for you support.

scenic fern
#

Hi @river pumice , I have some doubts.

  1. What is different between equal and contain in condition ?
  2. Is there a any feature in Novu that allows the workflow to be automatically triggered through scheduling

Thanks

river pumice
#

@scenic fern

equal will do the exact equality check like abc is equal to abc but abc is not equal to ab

#

contains will check if the part is present or not

#

for example:-

abc contains ab
abc does not contains cd

#

Is there a any feature in Novu that allows the workflow to be automatically triggered through scheduling

Currently, no scheduling the triggering of workflow is not suported.
Would you like to share how you want to us this feature?

hushed steepleBOT
#

@scenic fern, you just advanced to level 2!

scenic fern
#

Yes Sure, I want send emails to students using condtion like below

ContractStatus is active or inactive
AND CurrentUnit equals 5 or 9or 13or 17or 21or 25or 29or 33or 37or 41or 45or 49or 53or 57or 61or 65or 69or 73or 77
AND where property CourseStatus is Second Level

#

and I'm exploring the possibility of internally triggering the Novu workflow through scheduling, rather than creating an external scheduled job.

river pumice
river pumice
scenic fern
river pumice
#

Sorry for confusion.
By rule I meant one condition

#

Multiple conditions can be combined using OR and AND operator

scenic fern
#

Is Combination of AND and OR will Work ? I cant see once changed to and for one condition other conditions is also changing. its working same for me as well

river pumice
#

Yes combination will work.
I see this is UI bug.
Sharing it with team

pine canopyBOT
scenic fern
#

Hi @river pumice, after getting your replay I tried with multiple conditions in combination of "AND" and "OR". Still its not workinf for me.

river pumice
#

Yeah @scenic fern
There is a bug.
I will keep you posted

scenic fern
#

Thanks @river pumice 😍

scenic fern
#

Hi @river pumice ,

For self hosting in servers which will the best option aws or azure ?

river pumice
#

@scenic fern
There is no any specific preference of mine
I generally use AWS EC2

scenic fern
#

is there any guide or readme available for self hosting ?

river pumice
#

We have this guide for communtiy self hosting

scenic fern
#

Sure!!. Thanks @river pumice

river pumice
#

@scenic fern
I just got an update from team
Currently we support either and or or
Combination of both is not supported

pine canopyBOT
scenic fern
#

Hi @river pumice any updates on this ?

river pumice
#

@scenic fern I just got to know that currently we donot support combination of logical operators

scenic fern
#

Thanks for confirming thid @river pumice

hushed steepleBOT
#

@scenic fern, you just advanced to level 3!