Page 1 of 1
SecurityRefresh cause restrart TI process
Posted: Fri Nov 09, 2012 2:35 pm
by ioscat
Hello, Community!
We got a trouble - we start TI process with SecurityRefresh command in the code, but when this string is executed all process starting from the first string. Has anybody met this issue ever?
Re: SecurityRefresh cause restrart TI process
Posted: Fri Nov 09, 2012 2:55 pm
by asutcliffe
Hi,
I'm afraid I don't really understand what you mean by this:
ioscat wrote:Hello, Community!
We got a trouble - we start TI process with SecurityRefresh command in the code, but when this string is executed all process starting from the first string. Has anybody met this issue ever?
Maybe you can elaborate or post your code?
Re: SecurityRefresh cause restrart TI process
Posted: Mon Nov 12, 2012 9:56 pm
by rmackenzie
ioscat wrote:We got a trouble - we start TI process with SecurityRefresh command in the code, but when this string is executed all process starting from the first string. Has anybody met this issue ever?
AIUI SecurityRefresh applies locks on security objects whilst it is performing its function. It sounds like you are experiencing a rollback in this particular TI process due to some command in the process after the SecurityRefresh trying to update something related to security. Most people would run SecurityRefresh
at the end of the process after having performed security updates - can you post the code?
Re: SecurityRefresh cause restrart TI process
Posted: Thu Nov 15, 2012 3:13 am
by ioscat
Code: Select all
#executeprocess( 'Dim.Load.Техническое средство' );
#executeprocess( 'ElementSecurity_UpdateSecurity_Техническое средство' );
#SecurityRefresh;
CubeClearData( 'Budget_Income_po_TS' );
executeprocess( 'Cube.Load.Budget_Income_po_TS_Forec_Komm_2012' );
executeprocess( 'Cube.Load.Budget_Income_po_TS_Forec_Central_2012' );
executeprocess( 'Cube.Load.Budget_Income_po_TS_Actual_Komm_2012' );
executeprocess( 'Cube.Load.Budget_Income_po_TS_Actual_Central_2012' );
executeprocess( 'Cube.Load.Budget_Income_po_TS_Forec_Komm_2013' );
executeprocess( 'Cube.Load.Budget_Income_po_TS_Forec_Central_2013' );
1) recreate dimesion
2) we have cube "ElementSecurity_Техническое средство" (copy of "}Ele...") that has rules. String data is put from rule cube to security cube by this process.
3)
4)
5)-10) Data load.
this morning tried to run process without "#" and it become to cycle around first two strings.
Re: SecurityRefresh cause restrart TI process
Posted: Thu Nov 15, 2012 5:33 am
by Andy Key
Do the server logs show any messages about Rolling Back?
Re: SecurityRefresh cause restrart TI process
Posted: Tue Jan 22, 2013 8:46 am
by ioscat
Upping old post.
What does "Roll Back" log look like? Have anybody ever met it?