Skip to Content Skip to Menu

CB Auto Actions: CB Activity needs a PRIVACY setting

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
6 years 6 months ago #303727 by timstohr
Hi,
Yeah then the whole instructions you had written beforehand does not work...
I have a quite big problem in that I need to find the activity_ID of the last activity that was created (remember, I am triggering an AA for Activity and an AA for CB Privacy) or at least the activity_ID of the activity that was created using the same trigger as the one for CB Privacy...


Any idea how to do that?

Please Log in or Create an account to join the conversation.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
6 years 6 months ago #303728 by timstohr
Stop, just read you post completely. Giving it a try...

Please Log in or Create an account to join the conversation.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
6 years 6 months ago #303729 by timstohr
Hi it seems to work! The good thing is that I can now use the CB privacy auto action also on other activity with a different asset in it. Simply input the other asset I want to protect into the conditions and it works.

Very neat solution...

Please Log in or Create an account to join the conversation.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
6 years 6 months ago - 6 years 6 months ago #303730 by timstohr
Ah... do wild card in conditioins work? eg [var1_asset] EQUAL TO onlyconnected.mainforum.*
?

EDIT: do the conditions have an OR function?
Last edit: 6 years 6 months ago by timstohr.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 6 months ago #303731 by krileon

Ah... do wild card in conditioins work? eg [var1_asset] EQUAL TO onlyconnected.mainforum.*?

No, you'll need to use a REGEXP operator for that and supply valid REGEX to match against. Example as follows.

[var1_asset] Is REGEXP /^onlyconnected\.mainforum\./

Should match any asset beginning with "onlyconnected.mainforum."

EDIT: do the conditions have an OR function?

No, same answer as above; you have to use REGEXP operator with valid REGEX. In REGEX the OR operator is |.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum