About us
ProcessMaker Inc. is the developer of the ProcessMaker Workflow & BPM Software Suite. Read more
syazwan wrote:is it possible to make the web entry automatically derivated to person in charge for the next process. Because currently, all the form from web entry will be in the "draft" box for person in charge for the current task, and that person need to click on continue button for it to derivate to next person.yes,
@include_once ( "wsClient.php" );
if ( !function_exists ('ws_open') )
throw ( new Exception ('function ws_open() is not defined. File wsClient.php is missing') );
ws_open ();
$result = ws_newCase ( '{processUid}', '{taskUid}', $_POST['form'] );
//$result = ws_newCase ( '{processUid}', '', $_POST['form'] );
if ( $result->status_code == 0 ) {
$caseId = $result->caseId;
$caseNr = $result->caseNumber;
$result = ws_derivateCase ($caseId, 1 );
$assign = $result->message;
//by default show the case info, for the recently created case
//you can change it or redirect to another page
//G::header ( 'Location: http://www.processmaker.com' );
$G_PUBLISH = new Publisher;
$aMessage['MESSAGE'] = "Case created in ProcessMaker<br>Case Number:$caseNr <br>Case Id:$caseId<br>$assign";
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login/showInfo', '', $aMessage );
G::RenderPage( 'publish', 'blank' );
}
Nice post and please provide more information. Tha[…]
The step by step guide to convert MBOX files to P[…]
Starting a business in a white-label NFT marketpla[…]
Well if you are a startup who has a dream to build[…]