Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#826763
Hi
I have a form that user guest fills out (web entry form) and then it has JavaScript code that creates user for form filler so I want this user(created by JavaScript code) can to view this case in participated cases after login with this account created, for this reason I try to execute trigger code to change user of case but it was not successful. In this trigger, I want to change the user with a fixed user-id temporarily.

Please help me on how to do this.
Thanks.
My trigger is this:
$app_uid=@@APPLICATION;
$c = new Cases();
$aCase = $c->loadCase(@@APPLICATION, @%INDEX);
$aCase['CURRENT_USER_UID']='4551256105c24cd644012b3077759831';
$c->updateCase(@@APPLICATION, $aCase);
Zappify Consumer Report

Zappify 2.0 Review- Picture this: you're sitting o[…]

Zappify Consumer Report

Zappify 2.0 Review- Picture this: you're sitting o[…]

🚨 Verpassen Sie nicht die neueste Handelsplattform[…]

Thanks. Very useful. https://www.solarpanelinstal[…]