Custom fields not available in rules

Created on 4 August 2015, over 9 years ago
Updated 19 April 2024, 8 months ago

There may be a few issues here.
Create rule on entity Grant update.
Action / Conditions work for native fields but fail for custom fields (of any type).
It doesn't seem to chain to custom fields or option table
When I dump the $civi_grant entity:
object(CRM_Grant_DAO_Grant)#479 (27) {
["id"]=>
string(1) "5"
["contact_id"]=>
string(2) "24"
["application_received_date"]=>
string(14) "20150730000000"
["decision_date"]=>
string(4) "null"
["money_transfer_date"]=>
string(4) "null"
["grant_due_date"]=>
string(4) "null"
["grant_report_received"]=>
string(4) "null"
["grant_type_id"]=>
string(1) "1"
["amount_total"]=>
string(4) "1500"
["amount_requested"]=>
string(4) "null"
["amount_granted"]=>
string(4) "null"
["currency"]=>
string(3) "USD"
["rationale"]=>
string(16) "test of rational"
["status_id"]=>
string(1) "2"
["financial_type_id"]=>
NULL
["_DB_DataObject_version"]=>
string(6) "1.8.12"
["__table"]=>
string(13) "civicrm_grant"
["N"]=>
int(0)
["_database_dsn"]=>
string(0) ""
["_database_dsn_md5"]=>
string(32) "90aa7511c5cda04c77012d0eb33f919a"
["_database"]=>
string(10) "nyjew_civi"
["_query"]=>
array(7) {
["condition"]=>
string(0) ""
["group_by"]=>
string(0) ""
["order_by"]=>
string(0) ""
["having"]=>
string(0) ""
["limit_start"]=>
string(0) ""
["limit_count"]=>
string(0) ""
["data_select"]=>
string(1) "*"
}
["_DB_resultid"]=>
NULL
["_resultFields"]=>
bool(false)
["_link_loaded"]=>
bool(false)
["_join"]=>
string(0) ""
["_lastError"]=>
bool(false)
}

✨ Feature request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States sonicthoughts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024