Unable to link get transaction data and process transaction states with arguments

Hi,

I have extracted the work items satisfying the criteria in WIList datarow array. But while passing these details to process transaction data I am not able to do so.

PFA my Gettransactiondata.xaml, System1_NavigateTo_WIDetails.xaml
and System1_ExtractClientInformation.xaml files.System1_NavigateTo_WIDetails.xaml (5.4 KB) System1_ExtractClientInformation.xaml (8.4 KB)
GetTransactionData.xaml (8.8 KB)

Buddy @vishnu.dhangare
for in_WIID kindly change the value like this buddy
Convert.ToInt32(TransactionItem(WIID).ToString)

Cheers

Hi Palayniyappan,

I tried with above format but getting an error as

An ExceptionDetail,
likely created by IncludeExceptionDetailInFaults=true,
whose value is:
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str,
NumberStyles options,
NumberBuffer& number,
NumberFormatInfo info,
Boolean parseDecimal)
at System.Number.ParseInt32(String s,
NumberStyles style,
NumberFormatInfo info)
at System.Convert.ToInt32(String value)
at lambda_method(Closure ,
ActivityContext )
at Microsoft.VisualBasic.Activities.VisualBasicValue1.Execute(CodeActivityContext context) at System.Activities.CodeActivity1.InternalExecuteInResolutionContext(CodeActivityContext context)
at System.Activities.Runtime.ActivityExecutor.ExecuteInResolutionContext[T](ActivityInstance parentInstance,
Activity1 expressionActivity) at System.Activities.InArgument1.TryPopulateValue(LocationEnvironment targetEnvironment,
ActivityInstance activityInstance,
ActivityExecutor executor)
at System.Activities.RuntimeArgument.TryPopulateValue(LocationEnvironment targetEnvironment,
ActivityInstance targetActivityInstance,
ActivityExecutor executor,
Object argumentValueOverride,
Location resultLocation,
Boolean skipFastPath)
at System.Activities.ActivityInstance.InternalTryPopulateArgumentValueOrScheduleExpression(RuntimeArgument argument,
Int32 nextArgumentIndex,
ActivityExecutor executor,
IDictionary2 argumentValueOverrides, Location resultLocation, Boolean isDynamicUpdate) at System.Activities.ActivityInstance.ResolveArguments(ActivityExecutor executor, IDictionary2 argumentValueOverrides,
Location resultLocation,
Int32 startIndex)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor,
BookmarkManager bookmarkManager,
Location resultLocation)

Aaaahah, WIID is of type string buddy, it was my bad keep like how you had previously TransactionItem(WIID).ToString and change the type of in_WIID as string from int32 buddy

Sorry again
Kindly try this and let know buddy
Cheers @vishnu.dhangare

Hi Palaniyappan,

It does solve the small issue I had. Thanks.

1 Like

Thats great…
Cheers buddy @vishnu.dhangare

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.