Hi Daniel.
Very interesting.
I just did the same for a pcat record, with one approval task. I added a condition to the pending behavior and one "action on true" macro.
And then did the export with
pdm_exporter -v -r -f pcat -w "id=5103" -p
which is more or less used in the background when I do a db_promote.sh on my linux 17.3 box.
I got, more or less, the same result :
Database Export report
############################################################
Factory name : pcat
Total number of exported objects : 22
-----------------------------------------------------------
Object name : Record count
-----------------------------------------------------------
atomic_cond : 0
bhvtpl : 4
cr_prptpl : 0
lrel_att_cntlist_macro_ntf : 0
lrel_att_ctplist_macro_ntf : 0
lrel_att_ntflist_macro_ntf : 0
lrel_false_action_act_f : 0
lrel_false_bhv_false : 0
lrel_ntfr_macrolist_att_ntfrlist : 0
lrel_status_codes_tsktypes : 14
lrel_svc_grps_svc_pcat : 0
lrel_svc_grps_svc_wftpl : 0
lrel_svc_locs_svc_pcat : 0
lrel_svc_schedules_pcat_svc : 0
lrel_true_action_act_t : 0
lrel_true_bhv_true : 0
macro : 1
macro_type : 1
pcat : 1
tskstat : 5
tskty : 4
wftpl : 1
-----------------------------------------------------------
Total number of objects that failed to export :0
-----------------------------------------------------------
So, no records for 'lrel_true_bhv_true' for me as well :(
That raised my interest om top: I did a domsrvr trace and found the following:
07/24 15:25:59.878 (+0.002) Received Msg
From: @|pdm_exporter-sdm173-2-#11360
To: @|domsrvr|TOP [Top_Ob]
BPMessage
{
method = call_attr
arg 0 = (string)lrel_true_bhv_true
arg 1 = (string)sync_fetch
arg 2 = (string)MLIST_STATIC
arg 3 = (string)macro.sym in ('Request/Incident/Problem task not assigned')
arg 4 = (integer)300
arg 5 = (integer)0
arg 6 = (string)
reply object = @|pdm_exporter-sdm173-2-#11360|VHAAAA (not refcounted)
reply method = got_sync_fetch
}
So, in my example the exporter tries to find lrel_true_bhv_true records which references my condition macro 'Request/Incident/Problem task not assigned' .
Which of course does not return any result , as the lrel_true_bhv_true record in scope refers the action macro 'Set Request/Incident/Problem Task SLA Violation'
In my understanding , this is a bug. the exporter seems to mix up condition and action action macros somehow.
I suggest to ask support for this one ;)
Best regards
....Michael
------------------------------
Principal Services Consultant
HCL Enterprise Studio
Germany
------------------------------
Original Message:
Sent: 07-23-2020 05:43 PM
From: Daniel Becker Bighelini
Subject: Promotion Categories problem
I'm trying to export a whole category of occurrences (isscat) using the command below, but the macros associated with the behaviors are not being exported (lrel_true_bhv_true and lrel_true_bhv_false).db_promote export -d "new export last" -w "code = 'zpro0360'" -f "isscat"
Can someone help me?
Report generated:
Nome da fábrica: isscat
Número total de objetos exportados: 25
-----------------------------------------------------------
Nome do objeto : Contagem de registros
-----------------------------------------------------------
atomic_cond : 0
bhvtpl : 53
isscat : 1
lrel_att_cntlist_macro_ntf : 0
lrel_att_ctplist_macro_ntf : 0
lrel_att_ntflist_macro_ntf : 0
lrel_false_action_act_f : 0
lrel_false_bhv_false : 0
lrel_ntfr_macrolist_att_ntfrlist : 0
lrel_status_codes_tsktypes : 64
lrel_svc_grps_svc_isscat : 0
lrel_svc_grps_svc_wftpl : 0
lrel_svc_locs_svc_isscat : 0
lrel_svc_schedules_isscat_svc : 0
lrel_true_action_act_t : 0
lrel_true_bhv_true : 0
macro : 2
macro_type : 1
prptpl : 46
prpval : 49
prpval_rule : 12
prpval_type : 1
tskstat : 9
tskty : 14
wftpl : 8
-----------------------------------------------------------
Número total de objetos cuja exportação falhou:0
-----------------------------------------------------------
SEQUENCE=
macro_type,prpval_type,isscat,macro,prpval_rule,atomic_cond,prptpl,prpval,tskty,wftpl,bhvtpl,tskstat,
LREL=
lrel_att_cntlist_macro_ntf,lrel_att_ctplist_macro_ntf,lrel_att_ntflist_macro_ntf,lrel_false_action_act_f,lrel_false_bhv_false,lrel_ntfr_macrolist_att_ntfrlist,lrel_svc_grps_svc_isscat,lrel_svc_grps_svc_wftpl,lrel_svc_locs_svc_isscat,lrel_svc_schedules_isscat_svc,lrel_true_action_act_t,lrel_true_bhv_true,lrel_status_codes_tsktypes,
-----------------------------------------------------------
------------------------------
CA Service Desk Manager Especialist Developer
PROCERGS
------------------------------