Home > Forum > Processes > STARTING SQL SUBWORKFLOW USING ITEM LIST FOR DIFFERENT COMPANY'S

STARTING SQL SUBWORKFLOW USING ITEM LIST FOR DIFFERENT COMPANY'S
0

How can I in here write dinamic company from my item list (My company is in DET_att5) ? Or I have to do another way ?

In reply to: Karol Częczek

Hi, Mateusz.
You choose any, and in the sql query add:
, DET_att5 as COM_ID

I do this:

SELECT DET_ID as WFD_AttText19,

DET_Att4 as COM_ID /* here also this DBO.ClearWFElemID(DET_Att4) as COM_ID but also error that said that that functions is not avaible

FROM WFElementDetails

WHERE DET_WFDID=1515422 AND DET_WFCONID=2398 AND DET_Att3=1


but I have an error

Wystąpił błąd wykonania akcji Uruchom podobieg (SQL) na ścieżce. (Krok: Ręczna weryfikacja załączników, ścieżka: Wiele faktur)
Błąd konfiguracji: Nieprawidłowy format kolumny COM_ID

In reply to: Maksymilian Stachowiak

Within your select, you can rename DET_Att5 to COM_ID, as written in context help (see screenshot).

It should override whatever you have typed in Default configuration tab.

@Edit
Seems like Karol was faster, and i havent refreshed my browser :)

I do this:

SELECT DET_ID as WFD_AttText19,

DET_Att4 as COM_ID /* here also this DBO.ClearWFElemID(DET_Att4) as COM_ID but also error that said that that functions is not avaible

FROM WFElementDetails

WHERE DET_WFDID=1515422 AND DET_WFCONID=2398 AND DET_Att3=1


but I have an error

Wystąpił błąd wykonania akcji Uruchom podobieg (SQL) na ścieżce. (Krok: Ręczna weryfikacja załączników, ścieżka: Wiele faktur)
Błąd konfiguracji: Nieprawidłowy format kolumny COM_ID

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.