Hey
as shown in the sample script, im using the execdmltransaction method to put some datas in the db. So far so good, but once the script is finnished and im trying to start the script again, it'll tell me "cannot start a transaction within a transaction".
Strange thing is, im using this method multiple times in my script, all other parts where im using it are running fine, but just this part will give out the error once i ran the script a 2nd time.
Here's the part im using:
as shown in the sample script, im using the execdmltransaction method to put some datas in the db. So far so good, but once the script is finnished and im trying to start the script again, it'll tell me "cannot start a transaction within a transaction".
Strange thing is, im using this method multiple times in my script, all other parts where im using it are running fine, but just this part will give out the error once i ran the script a 2nd time.
Here's the part im using:
Anyone got an idea what im doing wrong?variable index:string DML
DML:Insert["UPDATE x Set sample1 = '${xxx}' WHERE ID = '${id}';"]
DML:Insert["UPDATE y Set sample2 = '${yyy}' WHERE ID = '${id}';"]
DML:Insert["UPDATE z Set sample3 = '${zzz}' WHERE ID = '${id}';"]
db_sample:ExecDMLTransaction[DML]