on 03-05-2007 8:31 AM
hi
what is the use of assignment in logic
Hi Deva,
You must have got a clear view about what an assignment does...
To add my point to it, assignment can also be used in combing the docs you use in your transaction...
In case you have two different XMII XML documents in your transaction you can "append" the rowset of one document to the other and so u can get a combined output xml which you can link to your transaction output parameter..
Thanks,
Ajitha
Note: Pls award points if you find the answer useful....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The assignment action is merely a "holding place" for links that assign values from one property to another.
- Rick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Devakrishnan
One more example to understand Assignment Action Block.
Assignment action block becomes useful when you use condition logic.
Like if you have branching after conditional but you need a single output.
By assignment you can map both side output to single output.
So this action block maps Input/Output of one action block to another action block.
If you need more on this, please let me know
Best Regards
Ramshanker Upadhyay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Say for example, you are using xMII XML Actions in BLS. The output datatype of these actions will be xml. Now if you want to see the output of this outside BLS, u can create an <b>output transaction</b> variable with datatype xml and <b>assign the output</b> to newly created transation variable.
In Xacute Query, <b>select the transaction and output variable</b> and test it. You can see the output in desired format (xml or HTML)
You can also test using:
http://<yourserver>/Lighthammer/Runner?Transaction=XXX/YYY&YourInput=123&OutputParameter=YourOutput
Sometimes this is better and easier than using the Xacute query editor.
Also, it is good practice to provide a "reference document" (using the Assign Reference Document menu option in the BLS editor) to XML inputs and outputs.
This helps in two main areas:
- If you invoke your transaction from another transaction, you'll be able to map into and out of the transaction input and output structure(s)
- If you invoke your transaction as a SOAP web service (using WSDLGen), it will generate the proper WSDL
Best regards,
Rick
Hi DevaKrishnan,
Using the Assignment action you can assign values from one parameter to another. One example may be if you want to assign one of the field value of an action block to the output param of the BLS transaction you can use the assignment action.
Thanks,
Dipankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.