All Ingrid_request functions
Name | Function header | Example | Result | Description | Errorhandling |
---|---|---|---|---|---|
getCurrentRequest | func() Msg | ||||
getID | func(msg Msg) string | ||||
getMsg | func() Msg | ||||
getRequest | func() IngridMsg | [[ $v := getRequest ]] |
$v contains the current Request, that was sent to the Workflow | ||
getRequestID | func(msg IngridMsg) string | [[ $v := getRequestID $req]] |
get the RequestID of the Request $req | ||
newControl | func newData() pkgmsg.Data | ||||
newControls | func newData() pkgmsg.Data | ||||
newData | func newData() pkgmsg.Data | ||||
newMsg | func() Msg | ||||
newSubRequest | func() IngridMsg | ||||
setCurrentRequest | func() IngridMsg bool | ||||
setMsg | func() IngridMsg bool | ||||
setRequest | func() IngridMsg bool |
To get an overview of the ingrid get/set request function check the cheat sheet.
// TODO // TODO: func() Msg = fun() IngridMsg????
func() Msg
The getCurrentRequest
function returns the current requests ingrid protocol message data block.
Application notes / Limits:
Examples
[[ $result := getCurrentRequest ???? ]]
$result = "????"
// TODO
func() Msg
The getID
function ….
Application notes / Limits:
Examples
[[ $result := getID ???? ]]
$result = "????"
see function description getRequest
// TODO
func() IngridMsg
The getRequest
function …
Application notes / Limits:
Examples
[[ $result := getRequest ???? ]]
$result = "????"
// TODO
func(msg IngridMsg) string
The getRequestID
function get the request ID of the ingrid protocol message.
Application notes / Limits:
Examples
[[ $result := getMsg ???? ]]
$result = "????"
see function description newData
// delete this desc?? // TODO
func() pkgmsg.Dat
The newControl
function …
Application notes / Limits:
Examples
[[ $result := newControl ???? ]]
$result = "????"
see function description newData
// delete this desc?? // TODO diff zu newControl??? (multiple controls can be added/created??)
func() pkgmsg.Data
The newControls
function …
Application notes / Limits:
Examples
[[ $result := newControls ???? ]]
$result = "????"
// TODO
func() pkgmsg.Data
The newData
function creates a new ingrid protocol message data/control object with all properties as described in the definition
Application notes / Limits:
Examples
[[ $result := newData ???? ]]
$result = "????"
// TODO
func() pkgmsg.Data
The newMsg
function creates a new ingrid protocol message object.
Application notes / Limits:
Examples
[[ $result := newMsg ???? ]]
$result = "????"
see function description newMsg
// TODO
func() pkgmsg.Result
The newResult
function creates a new ingrid protocol message result object
Application notes / Limits:
Examples
[[ $result := newResult ???? ]]
$result = "????"
// TODO
func() IngridMsg == func() pkgmsg.Msg { return newSubRequest(data.Data.ID) }?????
The newSubRequest
function creates a new subrequest in the request.
Application notes / Limits:
Examples
Anpassen Beispiel: ist copy&paste von marshal
_comment request / subrequest relation
[[ $req1 := newSubRequest ]]
[[ $result := toString (marshal $req1 ) ]]
[[ setCurrentResultDataValue "DocuFixValue8" $result ]]
// TODO
func() IngridMsg bool == func(r pkgmsg.Msg) bool { data.Data = &r; return true }?????
The setCurrentRequest
function creates a new current ingrid message object.
Application notes / Limits:
Examples
Anpassen Beispiel: ist copy&paste von marshal
[[ $result := setCurrentRequest ???? ]]
$result = "????"
see function description setCurrentRequest
see function description setCurrentRequest