These are chat archives for synrc/n2o

11th
Apr 2019
Namdak Tonpa
@5HT
Apr 11 10:25
I just added JSON debug to BPE pages
$io.do = function(r) { console.log(JSON.stringify(decode(r))); };
Namdak Tonpa
@5HT
Apr 11 10:30
{"tup":"io","code":"{ var x = qi('ctrl'); if (x) x.style.display = 'none'; }{ var x = qi('frms'); if (x) x.style.display = 'block'; }"}
{"tup":"io","code":"{ var x = qi('frms'); if (x) x.style.display = 'none'; }{ var x = qi('ctrl'); if (x) x.style.display = 'block'; }"}
{"tup":"io","code":"qi('tr_row_8').outerHTML='<div id=\"tr_row_8\" class=\"td\"><div class=\"column6\"><a href=\"act.htm?p=8\">8</a></div><div class=\"column6\">SpawnConference</div><div class=\"column6\">quant_1</div><div class=\"column20\">AssignPersons</div><div class=\"column20\"></div><div class=\"column10\"><a class=\"button sgreen\" id=\"auto-407455\" href=\"javascript:void(0);\">Go</a></div></div>';{var x=qi('auto-407455'); x && x.addEventListener('click',function (event){ event.preventDefault(); { if (validateSources([])) { ws.send(enc(tuple(atom('pickle'),bin('auto-407455'),bin('fa3f4ad4225f8ab1239cd1d5e88c7037ece3a402997826ea2a175dc5b0a294782a401ed417b08a233db417270d2720053d68e0393db8c129e537bbf81b3d5afef09ef3e88798299134232706e5d705950df181c62858fe4abaa45106be3d864964ac6007b6e600d2ea4444a013ae21ec'),[tuple(tuple(string('auto-407455'),bin('detail')),[])]))); } else console.log('Validation Error'); }});};"}
ws.send(enc(encode({tup:'load',id:1})));
{"tup":"io","data":{"tup":"process","id":1,"container":"feed","feed_id":"process","next":2,"name":"IBAN Account","tasks":[{"tup":"userTask","name":"Init","module":"bpe_account"},{"tup":"userTask","name":"Upload","module":"bpe_account"},{"tup":"userTask","name":"Signatory","module":"bpe_account"},{"tup":"serviceTask","name":"Payment","module":"bpe_account"},{"tup":"serviceTask","name":"Process","module":"bpe_account"},{"tup":"endEvent","name":"Final","module":"bpe_account"}],"events":[{"tup":"messageEvent","name":"PaymentReceived"}],"flows":[{"tup":"sequenceFlow","source":"Init","target":"Upload"},{"tup":"sequenceFlow","source":"Upload","target":"Payment"},{"tup":"sequenceFlow","source":"Payment","target":["Signatory","Process"]},{"tup":"sequenceFlow","source":"Process","target":["Process","Final"]},{"tup":"sequenceFlow","source":"Signatory","target":["Process","Final"]}],"task":"Upload","started":"nonode@nohost"}}