Ejemplo n.º 1
0
    /**

     * Create WebEntry records

     *

     * @param string $processUid     Unique id of Process

     * @param string $userUidCreator Unique id of creator User

     * @param array  $arrayData      Data

     *

     * return void

     */

    public function createWebEntry($processUid, $userUidCreator, array $arrayData)

    {

        try {

            $webEntry = new \ProcessMaker\BusinessModel\WebEntry();



            foreach ($arrayData as $value) {

                $record = $value;



                $arrayWebEntryData = $webEntry->create($processUid, $userUidCreator, $record);

            }

        } catch (Exception $e) {

            throw $e;

        }

    }