cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding assignment under logic

Former Member
0 Kudos

hi

what is the use of assignment in logic

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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....

Former Member
0 Kudos

The assignment action is merely a "holding place" for links that assign values from one property to another.

- Rick

Former Member
0 Kudos

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

Former Member
0 Kudos

hi

Thanks for your Reply,can u give me one Realtime example for that.

Former Member
0 Kudos

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)

Former Member
0 Kudos

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

former_member4529
Active Contributor
0 Kudos

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