In dispatcher process,I am getting error at transaction item variable type.(uipath level3 assignment2)


#1

by default variable type is queue item for transaction item variable in main file,get transaction data,process,set transaction status files.But in walkthrough pdf,it is said to change to system.string.When i change to string it is throwing error.How to handle this?
Can anyone help?


Level 3 Assignment 2, Trasactionitem type
#2

Can you share the screenshot of error @SUPRIYA123


#3

it is saying disallows implicit conversion from integer to string at assign activity in get transaction data


#4

@SUPRIYA123 In assign statement on right hand side ur getting result as integer. Convert that value into string


#5

done.Thanks


#6

how to convert string to queue item.I am getting error at set transaction status workflow.

I am getting error in set transaction status workflow.Can anyone help?


#7

Can you post the screenshot what error exactly you are getting?


#8

cannot convert string to queue item is error


#9

Delete that! It will work…you need not update the transaction data as far as I remember
Delete it from all three i.e. handle business exception and handle system error!
No just the part that gives error which set transaction status activity in this case…


#10

u mean to delete entire set transaction status workflow?


#11


#12

ya i deleted.Thanks.It is saying retry number is not member of string


#13

have you declared retry number as String? If yes, change it to int
Also please post screenshot to understand it better


#14

No.It is int32


#15

Please post the screenshot :slight_smile:


#16

showing error at retry number


Level 3 Assignment 2, Trasactionitem type
#17

@SUPRIYA123 what error u getting?


#18

Error is Retry number is not member of string


#19

Error is Retry number is not member of string


#20

@SUPRIYA123 ur assigning in_TransactionItem to io_RetryNumber. am i correct